#include <stdio.h>

int main(void) {
	int h;
    printf("请输入一个整数:\n");
    scanf("%d",&h);
    if(6<=h&&h<=8)printf("早上好");
    else if(8<h&&h<=12)printf("上午好");
    else if(12<h&&h<=18)printf("下午好");
    else if(18<h&&h<=24)printf("晚上好");
    else if(h<6)printf("凌晨好");
    else printf("该时间不可用");
	return 0;
}