import java.util.*;

public class Main {
	public static void main(String[] args) throws Exception{
		Scanner scn = new Scanner(System.in);
		int a = scn.nextInt();
		int b = scn.nextInt();
      	int ans = a*b;
      	int ans2 = 0;
      	for(int i=0; i<b; i++){
          ans2 += a;
        }
      	System.out.println(ans2);
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args) throws Exception{
		Scanner scn = new Scanner(System.in);
		int a = scn.nextInt();
		int b = scn.nextInt();
      	int ans = a*b;
      	int ans2 = 0;
      	for(int i=0; i<b; i++){
          ans2 += a;
        }
      	System.out.println(ans2);
	}
} Main public static void main(String[] args) throws Exception{
		Scanner scn = new Scanner(System.in);
		int a = scn.nextInt();
		int b = scn.nextInt();
      	int ans = a*b;
      	int ans2 = 0;
      	for(int i=0; i<b; i++){
          ans2 += a;
        }
      	System.out.println(ans2);
	} main {
		Scanner scn = new Scanner(System.in);
		int a = scn.nextInt();
		int b = scn.nextInt();
      	int ans = a*b;
      	int ans2 = 0;
      	for(int i=0; i<b; i++){
          ans2 += a;
        }
      	System.out.println(ans2);
	} Scanner scn = new Scanner(System.in); scn new Scanner(System.in) int a = scn.nextInt(); a scn.nextInt() scn.nextInt scn int b = scn.nextInt(); b scn.nextInt() scn.nextInt scn int ans = a*b; ans a*b a b int ans2 = 0; ans2 0 for(int i=0; i<b; i++){
          ans2 += a;
        } int i=0; int i=0; i 0 i<b i b i++ i++ i {
          ans2 += a;
        } {
          ans2 += a;
        } ans2 += a ans2 a System.out.println(ans2) System.out.println System.out System System.out ans2 String[] args args public class Main {
	public static void main(String[] args) throws Exception{
		Scanner scn = new Scanner(System.in);
		int a = scn.nextInt();
		int b = scn.nextInt();
      	int ans = a*b;
      	int ans2 = 0;
      	for(int i=0; i<b; i++){
          ans2 += a;
        }
      	System.out.println(ans2);
	}
} public class Main {
	public static void main(String[] args) throws Exception{
		Scanner scn = new Scanner(System.in);
		int a = scn.nextInt();
		int b = scn.nextInt();
      	int ans = a*b;
      	int ans2 = 0;
      	for(int i=0; i<b; i++){
          ans2 += a;
        }
      	System.out.println(ans2);
	}
} Main
import java.util.*;

public class Main {
	public static void main(String[] args) throws Exception{
		Scanner scn = new Scanner(System.in);
		int a = scn.nextInt();
		int b = scn.nextInt();
      	int ans = a*b;
      	int ans2 = 0;
      	for(int i=0; i<b; i++){
          ans2 += a;
        }
      	System.out.println(ans2);
	}
}