# A - Discount
# https://atcoder.jp/contests/abc193/tasks/abc193_a

a,b = map(int,input().split())
print(((a-b)/a)*100)

c8f8a7bd3a22cef05c03c92c3c6043f4308391b4
<mask token>

<mask token>
print((a - b) / a * 100)

a, b = map(int, input().split())
print((a - b) / a * 100)

# A - Discount
# https://atcoder.jp/contests/abc193/tasks/abc193_a

a,b = map(int,input().split())
print(((a-b)/a)*100)
