#include <bits/stdc++.h>
using namespace std;
#define int long long
int re() {
int ret = 0, f = 1;
char ch = getchar();
while (!isdigit(ch)) f = (ch == '-') ? -f : f, ch = getchar();
while (isdigit(ch)) ret = ret * 10 + ch - '0', ch = getchar();
return ret * f;
}
signed main() {
int n = re();
for (int i = 1; i <= n; ++i) {
int a = re(), b = re();
printf("%lld\n", a, b);
}
return 0;
}