Problem Description

A number is provided as string. It may have + sign, leading zeros, and decimal part. Normalize it: remove +, remove extra leading zeros, remove trailing zeros in decimal, and if it becomes -0 or 0.0 then output 0.

Input Format

One number as string.

Output Format

One normalized string.

Sample Test Case

Input:
+0012.3400
Output:
12.34

Constraints

Input length

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next