Sum of digits
Execution time limit is 1 second
Runtime memory usage limit is 122.174 megabytes
Find the sum of the first and the last digit in four-digit positive integer.
Input
One four-digit positive integer.
Output
Print the sum of the first and the last digit.
Examples
Input #1
Answer #1
Submissions 32K
Acceptance rate 71%