Problems
553 - Multiplication Table I

Multiplication Table I

Time Limit: 0.5 sec

The Problem

Sam is 6 years old girl. Now-a-days she is learning multiplication table. But she found learning multiplication table is much harder than do programming. For this reason she made a program where she can easily make multiplication tables.

She gives a number as input where the number specifies which number of multiplication table it is and the program will generate the multiplication table up to 10.

Can you make a program like SAM??

The Input

The input file contains several cases. Each case contains a single integer value x(x<= 1000000). Input is terminated by EOF.

The Output

For each case the output will print the case number and the desire table in a separate line.

*There is an extra new line between two outputs.

Sample Input

1

5

Sample Output

Case 1:

1 X 1 = 1

1 X 2 = 2

1 X 3 = 3

1 X 4 = 4

1 X 5 = 5

1 X 6 = 6

1 X 7 = 7

1 X 8 = 8

1 X 9 = 9

1 X 10 = 10

Case 2:

5 X 1 = 5

5 X 2 = 10

5 X 3 = 15

5 X 4 = 20

5 X 5 = 25

5 X 6 = 30

5 X 7 = 35

5 X 8 = 40

5 X 9 = 45

5 X 10 = 50

Problem Setter: Samia Safa Ahmed