#include <stdio.h>

//变量重命名
typedef unsigned int unit;
int main()
{
    unit a = 0;
    unit b = 0;
    //多组输入
    while (~scanf("%u %u", &a, &b))
    {
        printf("%u\n", (a + b) % 100);
    }


    return 0;
}