Sum of digits#19

Sum of digits

1 second
122.174 megabytes
Very easy (≈850)

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

Example 1

Loading
Loading