#include <iostream> int main() { int N; std::cin>>N; for(int i=1;i<=10;i++) printf("%d x %d = %d\n",i,N,i*N); return 0; }