#include <stdio.h>

int main() {
    int D;
    scanf("%d", &D);
    if(D<=800){
        printf("1");
    }
    else if(D>800 && D<=1400){
        printf("2");
    }
    else{
        printf("3");
    }
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: