#!/usr/bin/python
n1 = int(input('Digite o valor para gerar a Tabuada: '))
print(20*'-')
print('{} x {:2} = {}{}{}'.format(n1, 1, '\033[1;32m', n1 * 1, '\033[m'))
print('{} x {:2} = {}{}{}'.format(n1, 2, '\033[1;32m', n1 * 2, '\033[m'))
print('{} x {:2} = {}{}{}'.format(n1, 3, '\033[1;32m', n1 * 3, '\033[m'))
print('{} x {:2} = {}{}{}'.format(n1, 4, '\033[1;32m', n1 * 4, '\033[m'))
print('{} x {:2} = {}{}{}'.format(n1, 5, '\033[1;32m', n1 * 5, '\033[m'))
print('{} x {:2} = {}{}{}'.format(n1, 6, '\033[1;32m', n1 * 6, '\033[m'))
print('{} x {:2} = {}{}{}'.format(n1, 7, '\033[1;32m', n1 * 7, '\033[m'))
print('{} x {:2} = {}{}{}'.format(n1, 8, '\033[1;32m', n1 * 8, '\033[m'))
print('{} x {:2} = {}{}{}'.format(n1, 9, '\033[1;32m', n1 * 9, '\033[m'))
print('{} x {:2} = {}{}{}'.format(n1, 10, '\033[1;32m', n1 * 10, '\033[m'))
print(20*'-')