B. Old Tetris
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output

Inspired by the matches of the World Classic Tetris Championship, Professor R.'s grandson found Professor R.'s old game console in the pantry and a Tetris cartridge in it. The cartridge game starts at level zero, tetris (clearing four full rows from the playing field) gives 10 points. Every time the player clears 10 rows, the game advances to the next level, and then the score for tetris increases by 10 points. The Professor's grandson became curious: at which level will he be when his total score reaches at least $$$X$$$ points if he clears rows only by making tetrises? Help the grandson by writing a program that determines the level number at the moment his score becomes at least $$$X$$$, as well as the total number of points earned.

Input

A single line contains the number $$$X$$$ $$$(0 \le X \le 10^{1000})$$$.

Output

In a single line, print two numbers separated by a space – the level which the Professor's grandson will reach when his score first becomes at least $$$X$$$ points, and the number of points earned.

Examples
Input
0
Output
0 0
Input
1
Output
0 10
Input
90
Output
2 100
Input
70
Output
2 70
Note

Consider the fourth example. At level zero, the grandson will complete 3 tetrises, earning 30 points. During this time, 12 rows are cleared, which causes the game to advance to level one. At level one, he then completes 2 more tetrises, earning 2 * 20 = 40 points. Since a total of 20 rows are now cleared, the game advances to level two. This results in a total score of 70 points (30 + 40).