#import sys #input = sys.stdin.readline def main(): a, b = map( int, input().split()) ans = str(a//b) + "." ANS = [] a %= b a *= 10 for _ in range(50): ANS.append(a//b) a %= b a &= b a *= 10 print( ans + "".join( map( str, ANS))) if __name__ == '__main__': main()