#include <stdio.h>

int main() {
int a,b;
int he;
int i;
scanf("%d %d",&a,&b);

    he =  a%100+b%100;
    printf("%d",he%100);




}