#include<stdio.h>
int main()
{
	int a,b,c,d,e;
	scanf("%d %d",&a,&b);
	c=a+b;
	d=c/10%10;//也可写成:d=c%100/10;
	e=c%10;
	if(d==0)
    	printf("%d",e);
	else
    	printf("%d%d",d,e);//规范写法应该为:printf("%d",10*d+e);
	return 0;
}