#include <iostream>
using namespace std;
int main()
{
int n, i, multi;
cin >> n;
for(i=1; i<=10; i++)
multi = n * i;
cout << n << " * " << i << " = " << multi << '\n';
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSAKewoJaW50IG4sIGksIG11bHRpOwoJY2luID4+IG47Cglmb3IoaT0xOyBpPD0xMDsgaSsrKQoJCW11bHRpID0gbiAqIGk7CgkJY291dCA8PCBuIDw8ICIgKiAiIDw8IGkgPDwgIiA9ICIgPDwgbXVsdGkgPDwgJ1xuJzsKCQkKCXJldHVybiAwOwp9