Given a number n, you have to print the multiplication table of n till the 10th multiple.
The first line indicating the number of test cases - T.
Next T lines contain the number ni.
T lines, each containing 10 space-separated integers indicating the multiplication table of ni.
3
2
6
12
2 4 6 8 10 12 14 16 18 20
6 12 18 24 30 36 42 48 54 60
12 24 36 48 60 72 84 96 108 120
0 < T <= 10000
1 <= ni <= 10000