favorite We need a little bit of your help to keep things running, click on this banner to learn more
Competitions

# The sum of the first and the last digits in the number

Find the sum of the first and the last digit of an integer.

#### Input

One 32-bit number that consists of at least 2 digits. The number can be positive or negative.

#### Output

Print the sum of the first and the last digit of an integer.

Time limit 1 second
Memory limit 128 MiB
Input example #1
2345

Output example #1
7