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