RISEOJ의 개발자 rip는 항상 친구들에게 죽었다고 놀림을 받는다. 그 이유를 알아보자.
문자열의 수 $n$과 문자열 $str$이 주어진다. 이때, 예제와 같이 str의 이니셜을 출력한다.
Input
첫 줄에 $n$이 주어진다. 그리고 다음 $n$줄에 $str_i$가 주어진다.
Output
예제와 같이 각 줄에 $str_i$의 이니셜을 출력한다.
Constraints
1 $\le n \le$ 100, 1 $\le (str_i의 길이) \le$ 100
Example 1
Input
1 Rest In Peace
Output
RIP
Example 2
Input
2 joomong is CuTe joomong work hard for RISEOJ
Output
jiC jwhfR
Example 3
Input
1 ragdoll in player
Output
rip
Discussion
Threads about this problem. Spoilers are collapsed; wrap hints in
||double bars||.No discussion yet. Start a thread if something here needs explaining.