(RankList for this Question)
Your best friend needs your help in memorizing multiplication tables but they don’t know the tables of numbers greater than 2. So they are asking for your help to tell the table of any number which is greater than 2.
Constraints
Input Format
The first line contains one integer (t) - the number of test cases.
Each test case consists of one integer (n) - the number whose multiplication table you're supposed to print.
Output Format
For each test case, print 10 integers separated by space i.e. the table of the integer n upto 10 times.
Example 1
Input:
2
3
4
Output:
3 6 9 12 15 18 21 24 27 30
4 8 12 16 20 24 28 32 36 40
Explanation:
In the first test case, you are expected to print the table of 3 separated by space.
Log In to solve the Question