eolymp
bolt
Try our new interface for solving problems

104

104

Time limit 1 second
Memory limit 64 MiB
Input example #1
7
Output example #1
4
Input example #8
10000000
Output example #8
8388608
Input example #9
999999999
Output example #9
536870912