Sum of digits#959

Sum of digits

1 secondo
122,174 megabyte
Molto facile

Find the sum of the first and last digits of a four-digit natural number.

Input

One four-digit natural number.

Output

Print the sum of the first and last digits of the number.

Esempi

Esempio 1

Loading
Loading