Welcome to SMUPC!
InterviewTime limit1sMemory limit1024 MB
Given N, print the N-th letter of the repeating string WelcomeToSMUPC, which has length 14.
- Level
Easy1 of 10
- Topics
- String, Implementation
- Solved
- No attempts yet
Problem
Hwaeun printed label paper to welcome the 3rd SMUPC. The paper has "WelcomeToSMUPC" printed on it again and again, with no spaces between the letters. After the final letter C of "WelcomeToSMUPC", the sequence starts over from W. You want to cut the paper right after the N-th letter. Which letter is the N-th one?

[ =15 cut position on the label paper ]
Input
The first line contains ().
Output
Print the letter at the N-th position on the first line.