<filename>BOJ/21000~21999/21100~21199/21105.py
for _ in range(int(input())):
  p,c = map(float,input().split())
  print(100 * p / (100 + c))

<filename>BOJ/21000~21999/21100~21199/21105.py
for _ in range(int(input())):
  p,c = map(float,input().split())
  print(100 * p / (100 + c))
