#include <stdio.h>

int main() {
    int a, b,c;
    
    scanf("%d",&a);
    scanf("%d",&b);
    if((a>=0) &&(b<=1000))
    printf("%d",c= a+b);
    return 0;
}

细心仔细,认真看题!