P23380 [AtCoder] [ABC367B] Cut .0
入门
题目描述

Problem Description

A real number $ X $ is given to three decimal places.

Output the real number $ X $ satisfying the following conditions:

  • Do not add trailing zeros to the decimal part.
  • Do not add excessive trailing decimal points.

Input Format

The input is given from the standard input in the following format:

$ X $

Output Format

Output the answer.

Sample Input and Output

Sample Input #1

1.012

Sample Output #1

1.012

Sample Input #2

12.340

Sample Output #2

12.34

Sample Input #3

99.900

Sample Output #3

99.9

Sample Input #4

0.000

Sample Output #4

0

Notes/Hints

Constraints

  • $0 \le X < 100$
  • $ X $ is given to three decimal places

Sample Explanation 1

1.012 can be output as it is.

Sample Explanation 2

Output 12.340 without trailing zeros as 12.34.

Sample Explanation 3

Output 99.900 without trailing zeros as 99.9.

Sample Explanation 4

Output 0.000 without trailing zeros or excessive decimal points as 0.

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
1.012
样例输出
1.012