14676 - Strict formatting   

Description

Given input N (int/float), output N in a specific way such that:

 

If x is a positive integer, output 0 in front of the number such that the length of the number is 5

If x is a float, make sure the total of number count before and the after comma are 5

 

If the count already exceed 5, let it be

 

HINT

because python standart I/O converting all the input to str, here a link for a hint how to differentiate float or int

update

9/10 constraint update for input N

Input

A positive integer/float N

0 < N <= 1000000

Output

Output the correct formatting of the number

Sample Input  Download

Sample Output  Download




Discuss