Problem D

Statement
Copy Copied
Description:
None

Input Format:
The input contains a single integer a (0 ≤ a ≤ 1 000 000).

Output Format:
Output a single integer.

Note:
None