import java.util.Scanner; 
import java.math.BigInteger;

// javaBigInteger永远的神
public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        // 注意 hasNext 和 hasNextLine 的区别
        BigInteger a;
        BigInteger b;
        while(in.hasNextBigInteger())
        {
            BigInteger sum=new BigInteger("0");
            a=in.nextBigInteger();
            b=in.nextBigInteger();
            sum=a.add(b);
            System.out.println(sum);
        }

    }
}