Problem of hackerrank

Input Format

Input consists of the following space-separated values: int, long, char, float, and double, respectively.

Output Format

Print each element on a new line in the same order it was received as input. Note that the floating point value should be correct up to 3 decimal places and the double to 9 decimal places.

Sample Input

3 12345678912345 a 334.23 14049.30493
Sample Output

3
12345678912345
a
334.230
14049.304930000

sir what is the mistake in my code
the float and double values are not printing in the ans correctly

@qudsiya i think you are missing this line
Note that the floating point value should be correct up to 3 decimal places and the double to 9 decimal places.
also send the question link @qudsiya