Odd Divisors
Easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Let be the greatest odd divisor of , where is a positive integer. You are given a positive integer . Find the sum .
Input
Each line contains one positive integer .
Output
For each value of print in a separate line the value of .
Examples
Input #1
Answer #1
Submissions 7K
Acceptance rate 34%