Problem10947--ABC367 - B - Cut .0

10947: ABC367 - B - Cut .0

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 512 MiB

Description

A real number $X$ is given to the third decimal place.

Print the real number $X$ under the following conditions.

  • The decimal part must not have trailing 0s.
  • There must not be an unnecessary trailing decimal point.

Input

The input is given from Standard Input in the following format:

```
$X$
```

Output

Output the answer.

Constraints

-   $0 \le X < 100$
-   $X$ is given to the third decimal place.

Sample 1 Input

1.012

Sample 1 Output

1.012

1.012 can be printed as it is.

Sample 2 Input

12.340

Sample 2 Output

12.34
p>Printing 12.340 without the trailing 0 results in 12.34.

Sample 3 Input

99.900

Sample 3 Output

99.9

Printing 99.900 without the trailing 0s results in 99.9.

0.000

0

Printing 0.000 without trailing 0s or an unnecessary decimal point results in 0.

Source/Category