#include using namespace std; #define modulo 1000000007 #define mod(mod_x) ((((long long)mod_x)+modulo)%modulo) #define Inf 1000000000000 int main(){ string A,B; cin>>A>>B; int a = stoi(A,0,2); int b = stoi(B,0,2); a+=b; if(a<0){ cout<<'-'; a*=-1; } string ans = ""; while(a!=0){ ans += '0'+(a%2); a/=2; } if(ans=="")ans = "0"; reverse(ans.begin(),ans.end()); cout<