# 백준 #29699 (Welcome to SMUPC!) Label = "WelcomeToSMUPC" # N 입력 N = int(input()) # N번째에 해당하는 글자를 출력한다. Result = (N - 1) % len(Label) print(Label[Result])