import java.math.BigInteger;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
String a = in.next();
String b = in.next();
BigInteger bigA = new BigInteger(a);
BigInteger bigB = new BigInteger(b);
System.out.println(bigA.add(bigB));
}
}
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
String a = in.next();
String b = in.next();
BigInteger bigA = new BigInteger(a);
BigInteger bigB = new BigInteger(b);
System.out.println(bigA.add(bigB));
}
}