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