In your first Structured Programming class you printed Hello World!. Now your teacher has a homework: print the university name and your student ID.
You will be given a student ID in the form XXX-YYY-ZZZ. Print Primeasia University on the first line, and the same ID as an integer on the second line. Remove the hyphens first; when the ID is treated as a number, leading zeros disappear.
Input:
132-286-042
Output:
Primeasia University
132286042
001-002-003 becomes 1002003 as an integer.
Write your solution, test it against custom input, then submit for a real verdict.
Your submissions, verdicts, drafts and contest score are tied to your account. Registration is free.
A single line containing the student ID in the form XXX-YYY-ZZZ (three groups of three digits, separated by hyphens).
Two lines: Primeasia University, then the student ID as an integer.
Each group has exactly three digits. The resulting integer fits in a 32-bit signed integer.
132-286-042
Primeasia University 132286042