Function
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Calculate the function:
Input
One positive integer n (1 ≤ n ≤ 10^12
).
Output
Print the value of f(n) modulo 2^32
.
Examples
Input #1
Answer #1
Submissions 4K
Acceptance rate 28%