Bus conductors in Bengaluru often shout only the last digit of a bus number. Let's teach the computer to split a number.
Given a number n, print its last digit, and then the number that remains after removing that last digit.
Input Format
A single integer n.
Output Format
Print the last digit on the first line and the remaining number on the second line.
Constraints
• 0 ≤ n ≤ 10^9
Examples
Example 1
Explanation Last digit is 4. Removing it leaves 123.
Example 2
Explanation Last digit is 0. Remaining number is 50.
Example 3
Explanation Last digit is 7. Nothing is left, so the remaining number is 0.
Acceptance
100%
Accepted
1
Submissions
1