PROGRAMMING:Where is x
###Task description
Classmate x is a good student. He lives a "dormitory canteen classroom" life in strict accordance with his work and rest time every day. He studies in the dormitory before 6 a.m. and after 6 p.m., eats in the canteen from 6 a.m. to 7 a.m., 12 a.m. to 1 p.m. and 5 p.m. to 6 p.m., and has classes in the classroom the rest of the time.
Do you know where x is now( If and switch statements are not allowed)
###Input format:
One line gives a time point of the day, such as: HH: mm: SS, HH for hours, mm for minutes, SS for seconds, and 24-hour system for the whole day.
###Output format:
According to different situations, output a line of text, determine the output in the dormitory: dormitory; Determine the output in the canteen: canteen; Determine the output in the classroom: classroom; Output when the junction of two periods of time is uncertain: on the way.
###Input sample 1:
```in
20:10:20
```
###Output sample 1:
```out
dormitory
```
###Input sample 2:
```in
06:00:00
```
###Output sample 2:
```out
on the way
```
###Input sample 3:
```in
08:00:00
```
###Output sample 3:
```out
classroom
```
###Input sample 4:
```in
17:30:00
```
###Output sample 4:
```out
canteen
```
answer:If there is no answer, please comment
Classmate x is a good student. He lives a "dormitory canteen classroom" life in strict accordance with his work and rest time every day. He studies in the dormitory before 6 a.m. and after 6 p.m., eats in the canteen from 6 a.m. to 7 a.m., 12 a.m. to 1 p.m. and 5 p.m. to 6 p.m., and has classes in the classroom the rest of the time.
Do you know where x is now( If and switch statements are not allowed)
###Input format:
One line gives a time point of the day, such as: HH: mm: SS, HH for hours, mm for minutes, SS for seconds, and 24-hour system for the whole day.
###Output format:
According to different situations, output a line of text, determine the output in the dormitory: dormitory; Determine the output in the canteen: canteen; Determine the output in the classroom: classroom; Output when the junction of two periods of time is uncertain: on the way.
###Input sample 1:
```in
20:10:20
```
###Output sample 1:
```out
dormitory
```
###Input sample 2:
```in
06:00:00
```
###Output sample 2:
```out
on the way
```
###Input sample 3:
```in
08:00:00
```
###Output sample 3:
```out
classroom
```
###Input sample 4:
```in
17:30:00
```
###Output sample 4:
```out
canteen
```
answer:If there is no answer, please comment