try: while i:=input().split():print(abs(int(i[0])-int(i[1]))) except:1