Given a decimal number n in the forma of a string, you need to figure out the smallest number to which multiplying n it will become an integer.
Note : You can assume that, there will be always at least one number which can convert given decimal to integer.
Input format : A numeric string that contains decimal number n
Output format : An integer
Sample Input 1 :
Sample Output 1 :
Sample Input 2 :
Sample Output 2 :
Login to submit your solution