#include <iostream>
#include <string>

using namespace std;

__int128 find_sum(__int128 A, __int128 B){
	return A+B;
}
__int128 read_int128(){
	string s;
	if(!(cin>>s)) return 0;
	__int128 res=0;
	for(char c:s){
		res=res*10+(c-'0');
	}
	return res;
}
void print_int128(__int128 n){
	if(n==0){
		cout<<0<<"\n";
		return;
	}
	string s="";
	while(n>0){
		s=char((n%10)+'0')+s;
		n/=10;
	}
	cout<<s<<"\n";
}
int main(){
	ios_base::sync_with_stdio(false);
	cin.tie(NULL);
	__int128 A=read_int128();
	__int128 B=read_int128();
	__int128 result=find_sum(A,B);
	print_int128(result);
	return 0;
}