#include
#include
#define MAX 100 /*位数*/
typedef struct {
int a[MAX];
int b[MAX];
int s[MAX+1];
} high;
void init(high *x,char *a,char *b)
{
int i,len;
len=strlen(a);
for (i = 0; i
}
x->s[MAX]=0;
for (i=0; i
}
len=strlen(b);
for (i=0; i
}
}
int plus(high *x)
{
int i;
for (i=MAX-1; x->a[i]||x->b[i]; --i) {
x->s[i+1]+=(x->a[i]+x->b[i]);
x->s[i]+=x->s[i+1]/10;
x->s[i+1]%=10;
}
return (MAX-i);
}
void prt(high *a,int len)
{
int i;
for (i=MAX-len+1; i<=MAX; i++) printf("%d",a->s[i]);
}
int main(void)
{
char a[MAX+1],b[MAX+1];
int len;
high sp;
scanf("%[0123456789]",a);
fflush(stdin);
scanf("%[1234567890]",b);
init(&sp,a,b);
len=plus(&sp);
prt(&sp,len);
return 0;
}