29699

#include <stdio.h>

int main(void){
    char str[] = "WelcomeToSMUPC";

    // 입력
    int index;
    scanf("%d", &index);

    // 인덱스 계산 
    index = index%14;
    if(index == 0){
        index = 14;
    }

    // 출력
    printf("%c", str[index-1]);
    return 0;
}

+ Recent posts