import strutils, sequtils proc round(x: float): int {.importc: "round", header: "".} var a = stdin.readLine.split.map(parseInt) ans = 1000 for i in 0..200: for j in 0..200: if i + j == 0: continue if a[0] == round((100*i) / (i+j)) and a[1] == round((100*j) / (i+j)): ans = ans.min(i+j) ans.echo