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.

One four-digit positive integer.

Print the sum of the first and the last digit.

Input #1

Answer #1