"""
    Objective
In this challenge, we will use loops to do some math. Check out the Tutorial tab to learn more.

    Task
Given an integer, , print its first  multiples. Each multiple  (where ) should be printed on a new line in the form: n x i = result.

"""

#!/bin/python3

import math
import os
import random
import re
import sys



if __name__ == '__main__':
    n = int(input())
    for i in range(1, 11):
        m = i * n
        print(str(n)+" x "+str(i)+" = "+str(m))