Masala #PXFZRMPAS9

Xotira 16 MB Vaqt 1000 ms
14

Ifodalash

N kilometrni metr, detsimetr, santimetr, millimetrlarda ifodalang.


Kiruvchi ma'lumotlar:

Bitta butun N soni. N(1<=N<=10000).


Chiquvchi ma'lumotlar:

Masala yechimini alohida qatorlarda chiqaring.


Misollar
# input.txt output.txt
1
1
1000 m
10000 dm
100000 sm
1000000 mm
2
2
2000 m
20000 dm
200000 sm
2000000 mm