import java.util.Scanner;
public class Main {

	public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
		
		int a, b, menseki ,syu;
		a = sc.nextInt();
		b = sc.nextInt();
		
		menseki = a*b;
		syu = (a * 2) + ( b *2);
		
		System.out.println(menseki + " "  + syu);
		
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
		
		int a, b, menseki ,syu;
		a = sc.nextInt();
		b = sc.nextInt();
		
		menseki = a*b;
		syu = (a * 2) + ( b *2);
		
		System.out.println(menseki + " "  + syu);
		
	}

} Main public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
		
		int a, b, menseki ,syu;
		a = sc.nextInt();
		b = sc.nextInt();
		
		menseki = a*b;
		syu = (a * 2) + ( b *2);
		
		System.out.println(menseki + " "  + syu);
		
	} main {
		Scanner sc = new Scanner(System.in);
		
		int a, b, menseki ,syu;
		a = sc.nextInt();
		b = sc.nextInt();
		
		menseki = a*b;
		syu = (a * 2) + ( b *2);
		
		System.out.println(menseki + " "  + syu);
		
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a a b b menseki menseki syu; syu a = sc.nextInt() a sc.nextInt() sc.nextInt sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc menseki = a*b menseki a*b a b syu = (a * 2) + ( b *2) syu (a * 2) + ( b *2) (a * 2) a 2 ( b *2) b 2 System.out.println(menseki + " "  + syu) System.out.println System.out System System.out menseki + " "  + syu menseki + " "  + syu menseki " " syu String[] args args public class Main {

	public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
		
		int a, b, menseki ,syu;
		a = sc.nextInt();
		b = sc.nextInt();
		
		menseki = a*b;
		syu = (a * 2) + ( b *2);
		
		System.out.println(menseki + " "  + syu);
		
	}

} public class Main {

	public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
		
		int a, b, menseki ,syu;
		a = sc.nextInt();
		b = sc.nextInt();
		
		menseki = a*b;
		syu = (a * 2) + ( b *2);
		
		System.out.println(menseki + " "  + syu);
		
	}

} Main
import java.util.Scanner;
public class Main {

	public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
		
		int a, b, menseki ,syu;
		a = sc.nextInt();
		b = sc.nextInt();
		
		menseki = a*b;
		syu = (a * 2) + ( b *2);
		
		System.out.println(menseki + " "  + syu);
		
	}

}