Mirko and Slavko are bored on their skiing trip, so they came up with an interesting game they could play. First, Mirko specifies a number a
, b
, and c
, which greatly affects their programming skills.
Input Specification
The first line of input contains the positive integer
The following line contains a string of a
, b
, or c
, the letters Slavko chose.
The third line contains a string of a
, b
, or c
, the word Mirko wrote.
Output Specification
The first and only line of output must contain the word Slavko found.
Scoring
In test cases worth
Sample Input 1
3
abc
abc
Sample Output 1
bca
Sample Input 2
4
baba
baab
Sample Output 2
abba
Sample Input 3
5
aaabc
abcba
Sample Output 3
baaac
Comments