#include <stdio.h>

int main() {
int b;
    scanf("%d",&b);
    if(b<0 || b>2026) {
        printf("잘못 입력했습니다.");    
    }
    else if (b>=1999 && b<=2006) { printf("입영 대상자입니다.");
        
    }
    else {
        printf("입영 대상자가 아닙니다.");
    }
    return 0;
}

Embed on website

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