import math s = input().split("/") a = int(s[0]) b = int(s[1]) c = math.floor(a / b * 10000) / 10000 print(c)