#include <cstdio>
int main(void) {
    for(int i = 1;i<=9;i++){
        for(int j = 1;j<=i;j++){
            printf("%d x %d = %d ",i,j,i*j);
        }
        printf("\n");
    }
}