#include<bits/stdc++.h>
using namespace std;
int main()
{
    int a,b,c,d,e;
    scanf("%d %d",&a,&b);
    c=a+b;
    d=(c%100)/10;
    e=c%10;
    if(d==0)
        printf("%d",e);
    else
        printf("%d",10*d+e);
    return 0;
}