import java.util.Scanner;
public class Main{
public static void main(String[] args){
int a,b;
Scanner sc = new Scanner(System.in);
a = sc.nextInt();
b = sc.nextInt();
sc.close();
System.out.println(a*(b%10));
System.out.println(a*(b/10%10));
System.out.println(a*(b/100));
System.out.println(a*b);
}
}
์๋ฆฟ์ ๋นผ์ค๊ธฐ
๋๋จธ์ง์ฐ์ฐ์๋ ๋๋๊ธฐ๋ฅผ ์ด์ฉํด์ ํ๋ํ๋ ์๋ฆฟ์๋ฅผ ๋นผ์์ ์ฐ์ฐํ๋ค