Nobita got admission in University of DoraTech. On his first day at college, he sees a beautiful girl, of course her name is Shizuka. Nobita keep on staring at her. He wants to shoot her with his heart arrow but he needs to know the distance between him and Shizuka to make his shot accurate.
Now Nobita needs help, so he asked Doraemon about this distance value, but Doraemon was so busy in eating Dorayaki that he wrote the distance value (it's a real number) on a napkin. The problem is that he wrote it in scientific notation. The scientific notation of some real number x is the notation of form AeB, where A is a real number and B is an integer and x = A x is true. In our case A is between 0 and 9 and B is non-negative.
As, you know Nobita is not so good at Maths. So he asked you to tell him the distance value in usual decimal representation with minimal number of digits after the decimal point (and no decimal point if it is an integer). See the output format for better understanding.
Input
The first line contains T, the number of Test Cases. Each T lines contains a single string of form a.deb where a, d and b are integers and e is usual character 'e' — the scientific notation of the desired distance value.
a and b contain no leading zeros and d contains no trailing zeros (but may be equal to 0). Also, b can not be non-zero if a is zero.
Output
Print the only real number x (the desired distance value) in new line for each test case in its decimal notation.
Thus if x is an integer, print it's integer value without decimal part and decimal point and without leading zeroes.
Otherwise print x in a form of p.q such that p is an integer that have no leading zeroes (but may be equal to zero), and q is an integer that have no trailing zeroes (and may not be equal to zero).
Constraints
0 ≤ a ≤ 9
0 ≤ d <
0 ≤ b ≤ 100
The problem statement is clear itself.