নামতা ( Multiplication Table )

CPU: 1s
Memory: 1024MB


মীনা রাজুকে নামতা শিখানোর ব্যাপারে সাহায্য করছে। যখনই রাজু মীনাকে একটা সংখ্যা বলে, মীনা ধপাধপ সেই সংখ্যার ঘরের নামতা বলে দেয়।

কিন্ত কাজটা অনেক পরিশ্রমের এবং মীনার নিজেরও আগামীকাল একটা পরীক্ষা আছে। তাই মীনার তোমার সাহায্য দরকার। তুমি মীনা আর রাজুকে এমন একটি প্রোগ্রাম লিখে দাও, যেটিকে একটি সংখ্যা বললে সে সেটির নামতা বলে দিতে পারবে।

Meena is helping Raju with his multiplication table lessons. Every time Raju tells Meena a number, she makes a multiplication table of that number.

But it is a tedious work and Meena herself has an exam tomorrow. So she has asked for your help. Write a program to help Meena and Raju with this task.


ইনপুটের বর্ণনা

ইনপুটের প্রথম লাইনে কেবল একটি সংখ্যা T ( 1 <= T <= 15 ) দেওয়া থাকবে যেটি টেস্টকেসের সংখ্যা নির্দেশ করে। পরবর্তী T লাইনের প্রতিটিতে একটি করে ধনাত্মক পূর্ণসংখ্যা Pi ( 1 <= Pi <= 105), which is the ith থাকে যেটি রাজুর i তম প্রশ্ন।


Input Specification

On the first line of input, there will be only one integer T ( 1 <= T <= 15 ) denoting the number of test cases. Each of the next T lines will contain a positive integer Pi ( 1 <= Pi <= 105), which is the ith query of Raju.


আউটপুট এর বর্ণনা

i তম কেসের জন্য প্রথম লাইনে কেস সংখ্যা লিখো, এরপরের দশ লাইনে Pi সংখ্যাটির নামতা লিখে ফেলো। সঠিক ফরম্যাটের জন্য উদাহরণটা দেখে নিতে পারো।


Output Specification

For the ith case, output the case number on the first line. In the next ten lines, make a multiplication table for Pi. (See sample output for the exact output format)


Sample

InputOutput
2 22 13Case 1: 22 * 1 = 22 22 * 2 = 44 22 * 3 = 66 22 * 4 = 88 22 * 5 = 110 22 * 6 = 132 22 * 7 = 154 22 * 8 = 176 22 * 9 = 198 22 * 10 = 220 Case 2: 13 * 1 = 13 13 * 2 = 26 13 * 3 = 39 13 * 4 = 52 13 * 5 = 65 13 * 6 = 78 13 * 7 = 91 13 * 8 = 104 13 * 9 = 117 13 * 10 = 130

Problemsetter: Labib Rashid