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