/* Name: codingmaster008 Date-Time :30/09/2022 07:20:16 PM */ import java.util.*; import java.io.*; import java.math.*; public class Main { public static void main(String args[]) { Scanner s=new Scanner(System.in); String a=s.nextLine(),b=s.nextLine(); BigInteger x=new BigInteger(a),y=new BigInteger(b); System.out.println((BigInteger)(x).add(y)); }}