#include <stdio.h>
int main()
{
int a,b;
scanf("%d %d",&a,&b);
int c=a+b;
int x=c%10;
int y=(c-x)/10%10;
if(y==0)
printf("%d\n",x);
else
printf("%d%d\n",y,x);
return 0;
}
#include <stdio.h>
int main()
{
int a,b;
scanf("%d %d",&a,&b);
int c=a+b;
int x=c%10;
int y=(c-x)/10%10;
if(y==0)
printf("%d\n",x);
else
printf("%d%d\n",y,x);
return 0;
}