import sys#載入sysfor i in sys.stdin:#直接帶入輸入到i a,b=map(int,i.split())#分割i並轉為數字,然後存到a和b print(abs(a-b))#輸出a-b絕對值