mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-14 04:58:49 +00:00
15 lines
207 B
C++
15 lines
207 B
C++
#include <bits/stdc++.h>
|
|
|
|
using namespace std;
|
|
|
|
string s[4], t;
|
|
|
|
int main() {
|
|
cin >> s[1] >> s[2] >> s[3] >> t;
|
|
for (auto c : t) {
|
|
cout << s[c - '0'];
|
|
}
|
|
cout << endl;
|
|
return 0;
|
|
}
|