Multiples of n

Back when you had to memorize the multiplication table, the process was hard and now you nephew is trying to study math, so you decide to help. You decide to write a program that would print all the multiples (1, 2, ... 9, 10) of n in a table.
The program receives a single input - the number n. The output should contain all the multiples of n in the output.
Input
Output
7
7 * 1 = 7 7 * 2 = 14 7 * 3 = 21 7 * 4 = 28 7 * 5 = 35 7 * 6 = 42 7 * 7 = 49 7 * 8 = 56 7 * 9 = 63 7 * 10 = 70
 

Constraints

Time limit: 2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue