No.3294 UECoder
Problem Statement
You are given a string $S$ of length $N$ consisting of lowercase English letters. Here, $S$ contains exactly $1$ occurrence of the lowercase English letter c.
When the $i$-th character of $S$ is c, print the string obtained by concatenating UEC and the part of $S$ after the $i$-th character, in this order.
Constraints
- $N$ is an integer between $1$ and $100$, inclusive
- $S$ is a string of length $N$ consisting of lowercase English letters
- $S$ contains exactly $1$ occurrence of the lowercase English letter
c
Input
$N$ $S$
Output
When the $i$-th character of $S$ is c, print the string obtained by concatenating UEC and the part of $S$ after the $i$-th character, in this order.
Sample
Sample 1
Input
9 yukicoder
Output
UECoder
The $5$-th character of yukicoder is c, so print the string UECoder, obtained by concatenating UEC and oder, the part of yukicoder from the $6$-th character onward.
Sample 2
Input
14 summervacation
Output
UECation
Sample 3
Input
6 campus
Output
UECampus
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。
くらげ
sepa38