#include <stdio.h>

int main() {

    int a, b;
    int c = 0;//a和b相加的结果
    int result = 0;//最终的结果
    scanf("%d %d", &a, &b);//输入a,b

    c = a + b;
    int x10 = 0;//十位
    int x1 = 0;//个位

    if (c >= 100)
    {
        x1 = c % 10;
        x10 = (c / 10) % 10; 
        result = x10 * 10 + x1;
    }

    else 
    {
        result = c;
    }
    
    printf("%d\n", result);
    return 0;

}