const rl = require("readline").createInterface({ input: process.stdin });
var iter = rl[Symbol.asyncIterator]();
const readline = async () => (await iter.next()).value;

void async function () {
    // Write your code here
    let str1 = await readline()
    let str2 = await readline()
    // 在ES6中提供了BigInt数据类型,方便我们进行大数据的运算
    let num1 = BigInt(str1)
    let num2 = BigInt(str2)
    // 使用toString()方法是由于使用了BigInt之后,数据自身的结尾会携带一个n
    console.log((num1 + num2).toString()); 
}();