PHƯỚC HƯNG OJ · THỬ THÁCH THUẬT TOÁN

#PCBBAY0000033. Ba cách quan sát cùng một số (Three Views of the Same Number)

HỌC THEO LỘ TRÌNH

Bài tập thuộc lộ trình

1 lộ trình

Ba cách quan sát cùng một số (Three Views of the Same Number)

Three Views of the Same Number

Version: Phuoc Hung OJ Extended

Problem Statement

Given a real number xx parsed as Python float, print three views in order: the original print(x) result; the default display of round(x, 2); and the original number formatted with .2f. The displays may differ in length and trailing zeros.

Input

One line contains real xx.

Output

Print exactly three lines: the default display of xx, the default display of round(x, 2), then .2f formatting of xx.

Subtasks

  • Subtask 1 (100 points): ∣x∣≤1012|x|\le10^{12}.

Examples

Example 1

Input

1.23456

Output

1.23456
1.23
1.23

Explanation. The original value displays as 1.23456, round(x, 2) as 1.23, and direct .2f formatting as 1.23, in the required order.

Example 2

Input

12.0

Output

12.0
12.0
12.00

Explanation. The original value displays as 12.0, round(x, 2) as 12.0, and direct .2f formatting as 12.00, in the required order.

Example 3

Input

-2.675

Output

-2.675
-2.67
-2.67

Explanation. The original value displays as -2.675, round(x, 2) as -2.67, and direct .2f formatting as -2.67, in the required order.