import java.util.Scanner;
import java.math.BigInteger;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
while (in.hasNextLine()) {
String a = in.nextLine();
String b = in.nextLine();
BigInteger j = new BigInteger(a);
BigInteger k = new BigInteger(b);
System.out.println(j.add(k));
}
}
}
京公网安备 11010502036488号