#No.1902 AC Ratio A, B = map(int, input().split("/")) print(A / B)