Previous Level
Time limit1sMemory limit1024 MB
Given N character levels, print the range number (1 to 4) for each level using the thresholds 300, 275, and 250.
- Level
Easy1 of 10
- Topics
- Implementation
- Solved
- No attempts yet
Problem
MapleStory is an RPG game with levels. The terms 만렙 (max level) = , 구만렙 = , and 뀨만렙 = exist. Every level falls into one of four ranges: max level (range 1), 구만렙 or higher but below max level (range 2), 뀨만렙 or higher but below 구만렙 (range 3), and below 뀨만렙 (range 4). Given levels , print the range number for each level.
Input
The first line contains the number of levels . The second line contains levels , separated by spaces.
Output
Print the range number of each level, separated by spaces.