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