https://www.acmicpc.net/problem/2739
import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner s=new Scanner(System.in);
int n=s.nextInt();
for(int i=1;i<=9;i++){
System.out.format("%d * %d = %d\n",n,i,n*i);
}
}
}