#43652: PYTHON解 簡單解


suyueh (suyueh)


a,b=map(int,input().split()) if b<a: b=b+100 print(b-a)