package m.shin; import java.util.Scanner; public class Con581 { public static void main(String[] args) { Scanner s = new Scanner(System.in); long A = s.nextLong() , C = s.nextLong(); s.close(); System.out.println(C-A); } }