from fractions import Fraction x = Fraction(*map(int, input().split())) print(f'{x:.19f}')