Loading...
Aurangzeb & Mango tree
Time: 1 s
Memory: 125 MB

Badshah Aurangzeb was the 6th Mughal Emperor. Despite of his greatness he was a mango lover. He had a favourite mango tree in his garden. One day he assigned some men to count the leaves of that small mango tree. After finding out how many leaves are on the tree He wondered how many leaves would there be in the next year. His eldest daughter Zeb-Un-Nissa figured out a clever way to calculate it. Zeb-Un-Nissa was a very good poet, so to make things interesting she made a bengali riddle poem about it. But since Aurangzeb didn't like poem he assigned 'YOU' his only bengali programmer to find out the amount of leaves. before you start here's an advice from Zeb-Un-Nissa. "It is almost impossible for someone to get the amount right in their first try, except for my father. Don't be too mathematical and be realistic".

So here is the probelm given the amount of leaf currently in the tree **N** find out how many leaves there will be in the next year by solving this riddle poem.
 
Input
The input is only consist of one integer N
Constraint
\(0 \leq N \leq 1000\)
Output
Output the amount of leaves there will be next year as per test case
Examples
Input
Output
10
9220
Problem Info
Problem ID 761
Time Limit 1000 ms
Memory Limit 128000 KB
Moderators thewoahguy24
Statistics
Submit
You need to Login or Registration for submit your solution