Practice on Toph

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

Corona Virus Attacked Kittuk

By SrijonKumar · Limits 500ms, 512 MB

A large number of people are being infected with the Corona virus in Kittuk country. In that situation, the government of that country decided to tell a fake and small number to the nation so that they do not panic. So if people ask for number of infected patients, the Government tells them f(n)f(n) instead of nn. As you are a pro programmer, the government engaged you to calculate f(x)f(x).

$f \Big(n \Big) = \begin{cases} f \bigg( \displaystyle{\frac{n}{10}} \bigg) & \text{ iff n mod 10 = 0} \\ n & \text{otherwise} \end{cases}$

Input

You will be given an integer nn (100n109999) \Big(100 \leq n \leq 10^{9999} \Big) as input.

Output

You need to print f(n)f(n) and at the next line you need to print “Stay at Home” without quotes

Sample

InputOutput
123456785547880
12345678554788
Stay at Home

Discussion

Statistics


74% Solution Ratio

fsshakkhorEarliest, Apr '20

nuipqiunFastest, 0.0s

dxty84Lightest, 0 B

mdvirusShortest, 42B

Submit

Login to submit

Editorial

You just need to remove all 000's from the end of nnn.

Related Contests

Toph uses cookies. By continuing you agree to our Cookie Policy.