Problems
Function
Function
Calculate the function:
Input data
One positive integer n (1 ≤ n ≤ 10^12
).
Output data
Print the value of f(n) modulo 2^32
.
Examples
Input example #1
7
Output example #1
10
Calculate the function:
One positive integer n (1 ≤ n ≤ 10^12
).
Print the value of f(n) modulo 2^32
.
7
10