Love Triangle

Two boys, Venky and Sagar, are at war over a girl, Riu. Driven by their feelings, they decided to confess to Riu. Since both of them were equally dumb, Riu decided that she would go out with that boy who would successfully find the pattern and thus prove that he is less dumb.

Read input until end of file.

Given : 0<=N<=10^18

SAMPLE INPUT
 
1
2
3
10
100
SAMPLE OUTPUT
 
1
2
3
11
121

Comments

Popular posts from this blog

How to pass parameters in webhook?

Access and modify all the resources of our Wiki.js using WikiJS API

Fahrenheit to Celsius