#include <stdio.h>

int main() {
    unsigned int a, b;
    while (scanf("%u %u", &a, &b) != EOF) {
        printf("%u", (a + b) % 100);
    }
    return 0;
}