题目描述
Problem Description
Zyl has arrived at a new school. The school is vast, and he wants to find out which building his classroom is in.
Zyl's homeroom teacher has told him the floor number of his classroom, but there are three teaching buildings in the school: the Library, the Comprehensive Building, and the Art Building. The maximum number of floors in these three buildings are 3, 5, and 9 respectively.
Zyl has learned that his classroom is in one of these three buildings. Additionally, Zyl has the following information:
- The floor number \( n \) of the classroom.
- The foot traffic \( a, b, c \) of the three buildings (guaranteed that \( a, b, c \) are pairwise different).
Clearly, the floor number of the classroom must be not greater than the maximum floor number of the building it is in. On top of this condition, he has also learned that the classroom is in the building with the least foot traffic among all possible buildings.
Now, please help him determine which building his classroom is in based on the above conditions.
Input Format
The input consists of two lines.
The first line contains an integer \( n \), representing the floor number of the classroom.
The second line contains three integers \( a, b, c \), representing the foot traffic of the Library, the Comprehensive Building, and the Art Building respectively.
Output Format
The output consists of one line with a string indicating the building where the classroom is located.
Where, library represents the Library, comprehensive represents the Comprehensive Building, and art represents the Art Building.
Sample Input and Output
Sample Input #1
4
20 50 100
Sample Output #1
comprehensive
Sample Input #2
2
30 80 20
Sample Output #2
art
Notes
Sample 1 Explanation
The classroom is on the 4th floor. The maximum floor number of the Library is 3, so the classroom cannot be in the Library. Among the remaining two buildings, the Comprehensive Building has less foot traffic, so the classroom is in the Comprehensive Building.
Data Range and Constraints
- For 40% of the data, \( n \leq 3 \).
- For 100% of the data, \( 1 \leq n \leq 9 \), \( 0 \leq a, b, c \leq 20000 \), and \( a, b, c \) are pairwise different.
输入格式
见题面 Input 部分
输出格式
见题面 Output 部分