In Sylhet Engineering College a lots of events take place. Some events are oraganized by a single organization or sometimes events are organized by multiple organization. Sometimes its too much confusing that who is the main organizer of the event.But by our previous experience we can notice some simple pattern. Sounds interesting? Some basic patterns are :
If a event is not organized by a specific department try to find out if it is organized by any club. For simplicity, you must consider all the events that are organized by "SEC Programming Club" or "SEC Developers Club" is organized by "CSE Department". Sylhet Engineering College (SEC) has three department (CSE, CIVIL, EEE).
One of my friend notices some events name and he wants to know who is the organizer of this event. Help him find out the organizer name by a events name.
If a event is not organized by any department or any club simply assume that the organizer is "Sylhet Engineering College". For simplicity, you can ignore others club which are not mentioned in this statement and events name are case insensitive. For example, Programming, programming and PROGRAMMING are same.
NB: If a event is organized by both a department and a club you must output the Department name only. No event is organized by multiple department.
The first line contains the single integer t (1≤t≤100) — the number of test cases.
The next t lines contains t test cases. Each test case consists of a event name. An event may consists of a single word or multiple word.Each line may consists of at most 100 character. Event name contains letters (A-Z, a-z, 0-9) and space.
For each case print case number in the first line. Then print the Organizer name. Follow sample input output for better understanding.
Input | Output |
---|---|
4 SEC programming contest CSE Fest SEC Pitha Utshob 1st photo exhibition | Case 1: CSE Department Case 2: CSE Department Case 3: Sylhet Engineering College Case 4: SECPA |