Sometimes you want to impress those around you by seeming almost like a psychic. Perhaps you want to show children how much you know and can do. Guessing a thought-of number is a great trick to grab attention.
Instructions
Ask someone to think of three digits (specifically digits, not numbers).
Then ask them to multiply the first digit by and add to the result. Multiply this result by .
Next, add the second digit to the obtained number, then multiply the result by .
Add the third digit to the new number.
Ask them to say the obtained number out loud.
Pretend to ponder (but don't take too long). Meanwhile, subtract from the number spoken. The first three digits of the result are exactly those digits thought of in the beginning.
The input contains a string with the number spoken by the student.
In the output file, print the three thought-of digits separated by spaces.
Example 1