#K92612. Age Category Classification
Age Category Classification
Age Category Classification
This problem requires you to classify ages into specific categories. Given a list of ages, you need to determine which category each age belongs to based on the following rules:
- \(0 \leq age \leq 2\): Infant
- \(3 \leq age \leq 12\): Child
- \(13 \leq age \leq 17\): Teen
- \(18 \leq age \leq 64\): Adult
- \(age \geq 65\): Senior
Your program should read the input from standard input (stdin) and write the results to standard output (stdout), printing one category per line in the same order as the input ages.
inputFormat
The first line contains an integer n that represents the number of ages. The second line contains n space-separated integers, each representing an age.
outputFormat
Output n lines where each line contains the category corresponding to the age provided in the input.
## sample4
1 10 15 70
Infant
Child
Teen
Senior
</p>