Addition of Big Integers

Given two integers $A$ and $B$, compute the sum, $A + B$.

Input

Two integers $A$ and $B$ separated by a space character are given in a line.

Output

Print the sum in a line.

Constraints

* $-1 \times 10^{100000} \leq A, B \leq 10^{100000}$



Sample Input 1


5 8


Sample Output 1


13


Sample Input 2


100 25


Sample Output 2


125


Sample Input 3


-1 1


Sample Output 3


0


Sample Input 4


12 -3


Sample Output 4


9






Example

Input

5 8


Output

13
#include <iostream>
#include <vector>
#include <algorithm>
#include <math.h>
using namespace std;
typedef long long int ll;

bool comp(string a,string b){
	if(a==b)return true;
	if(a.size()>b.size())return true;
	else if(b.size()>a.size())return false;
	else return a>b;
}

string add(string a,string b){
	int maxlen=max(a.size(),b.size())+1;
	vector<int> ret(maxlen,0);
	string ans="";
	reverse(a.begin(),a.end());
	reverse(b.begin(),b.end());
	for(int i=0;i<a.size();i++){
		ret[i]+=(a[i]-'0');
	}
	for(int i=0;i<b.size();i++){
		ret[i]+=(b[i]-'0');
	}
	for(int i=0;i<maxlen-1;i++){
		ans+=(ret[i]%10)+'0';
		ret[i+1]+=ret[i]/10;
	}
	if(ret[maxlen-1]){
		ans+=ret[maxlen-1]+'0';
	}
	reverse(ans.begin(),ans.end());
	return ans;
}

string sub(string a,string b){
	bool minus=0;
	if(!comp(a,b)){
		swap(a,b);
		minus=1;
	}
	int maxlen=max(a.size(),b.size());
	vector<int> ret(maxlen,0);
	string ans="";
	reverse(a.begin(),a.end());
	reverse(b.begin(),b.end());
	for(int i=0;i<a.size();i++){
		ret[i]=a[i]-'0';
	}
	for(int i=0;i<b.size();i++){
		ret[i]-=b[i]-'0';
	}
	for(int i=0;i<maxlen;i++){
		while(ret[i]<0){
			ret[i]+=10;
			ret[i+1]--;
		}
		ans+=(ret[i]+'0');
	}
	reverse(ans.begin(),ans.end());
	int cnt=0;
	while(ans[cnt]=='0'&&cnt!=ans.size()-1)cnt++;
	return (minus?"-":"")+ans.substr(cnt);
}

int main(){
	cin.tie(nullptr);
	ios::sync_with_stdio(false);
	char s,t; string a,b;
	cin >> a >> b;
	s=a[0],t=b[0];
	a=a.substr(1); b=b.substr(1);
	if(s=='-'&&t=='-'){
		cout << "-" << add(a,b) << endl;
	}
	else if(s=='-'){
		b=t+b;
		if(comp(b,a)){
			cout << sub(b,a) << endl;
		}
		else{
			cout << "-" << sub(a,b) << endl;
		}
	}
	else if(t=='-'){
		a=s+a;
		if(comp(a,b)){
			cout << sub(a,b) << endl;
		}
		else{
			cout << "-" << sub(b,a) << endl;
		}
	}
	else{
		a=s+a;
		b=t+b;
		cout << add(a,b) << endl;
	}
	return 0;
}
