Temmie is a freshman at Tsinghua University. Upon enrollment, he learned about his student ID, which consists of a college code C and a string of numbers ID.
He is curious about what other people's student IDs represent, so based on the given college code and student ID, please calculate the following information according to the rules:
Hint: Please use strings in C to solve this problem.
The input consists of only one line, containing a letter C and a string ID of length 10 composed of digits 0-9 (may have leading zeros), separated by a space.
The output consists of four lines, each containing a string or an integer, representing the degree (string), class (string), enrollment year (integer), and seat number (integer).
"integer" means it doesn't include any unnecessary leading zeros.
Please remember to print "\n" at the end