import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] sa = br.readLine().split(" "); long a = Long.parseLong(sa[0]); long b = Long.parseLong(sa[1]); br.close(); if (b < 0 || a == 0) { System.out.println(a + b); } else { System.out.println(sa[0] + sa[1]); } } }