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

	if (a >= 100)
		a = a % 100;
	else
		a = a;

	if (b >= 100)
		b = b % 100;
	else
		b = b;

	sum = a + b;
	if (sum >= 100)
		printf("%d", sum % 100);
	else
		printf("%d", sum);

	return 0;
}