CODE
#include <iostream>
using namespace std;
int n, m, sz;
int main(int argc, char** argv) {
cin >> n >> m >> sz;
int a[n], b[m];
for (int i = 0; i < n; ++i) cin >> a[i];
for (int i = 0; i < m; ++i) cin >> b[i];
for (int i = 0; i < sz; ++i)
b[i] = a[i];
for (int i = 0; i < m; ++i)
cout << b[i] << ' ';
return 0;
}