int Num_cal(int num)     //规则1:保留两位数
{
    while(num > 99)
    {
        num %= 100;
    }
    return num;
}

int Add(int num1, int num2)
{
    int Sum;
    Sum = num1 + num2;
    Sum = Num_cal(Sum);
    return Sum;
}

int main()
{
    int a;
    int b;
    int result;
    scanf("%d %d",&a,&b);
    a = Num_cal(a);
    b = Num_cal(b);
    result = Add(a, b);
    printf("%d",result);
}