#PCBSAU0000031. Round và định dạng hiển thị (Rounding versus Formatting)

Round và định dạng hiển thị (Rounding versus Formatting)

Rounding versus Formatting

Source: Phước Hưng OJ

Version: Phuoc Hung OJ Extended

Problem Statement

Given real xx and integer kk, print the result of Python round(x, k) on the first line using normal float representation; print xx with exactly kk decimal places on the second.

Input

One line contains real xx and integer kk.

Output

Line 1 is Python float round(x, k); line 2 uses the dynamic fixed-precision format.

Subtask

  • Subtask 1 — 100 points: −1000≤x≤1000-1000\le x\le1000, xx is a multiple of 1/41/4; 0≤k≤30\le k\le3.

Example

Input

2.5 2

Output

2.5
2.50

Explanation

round(2.5,2) is the float 2.5; fixed precision prints 2.50 on the second line.