import java.util.Scanner;public class pp{public static void main(String[]argv){
Scanner sc=new Scanner(System.in);
long a,b;
while(sc.hasNext()){
a=sc.nextLong();b=sc.nextLong();
System.out.println(Math.abs(a-b));}
}}