#include
using namespace std;
#define int long long
signed main(){
//cout << "Hello world!" << endl;
int t;
cin>>t;
while(t--){
int l,r;
cin>>l>>r;
cout<
output
standard output
You are given a range of positive integers from ll to rr.
Find such a pair of integers (x,y)(x,y) that l≤x,y≤rl≤x,y≤r, x≠yx≠y and xx divides yy.
If there are multiple answers, print any of them.
You are also asked to answer TT independent queries.
Input
The first line contains a single integer TT (1≤T≤10001≤T≤1000) — the number of queries.
Each of the next TT lines contains two integers ll and rr (1≤l≤r≤9982443531≤l≤r≤998244353) — inclusive borders of the range.
It is guaranteed that testset only includes queries, which have at least one suitable pair.
Output
Print TT lines, each line should contain the answer — two integers xx and yy such that l≤x,y≤rl≤x,y≤r, x≠yx≠y and xx divides yy. The answer in the ii-th line should correspond to the ii-th query from the input.
If there are multiple answers, print any of them.
Example
input
Copy
3
1 10
3 14
1 10
output
Copy
1 7
3 9
5 10