Problem

4 /9


Bit product

Problem

Write a program with a recursive function to calculate the product of bits in a natural number.

Input
The first line contains a natural number N (  N<=109 ).

Imprint
Output the product of bits.

Examples
# Input Output
1 16 0
2 7 1