import java.util.Scanner; public class wonderfulDay { public static void main(String args[]) { Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); int b = scanner.nextInt(); int i = a + b - 3; System.out.println(i); } }