import java.util.Scanner;

class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int a = sc.nextInt();
		int b = sc.nextInt();
		sc.close();
		
		int menseki,syuu;
		
		menseki = a * b;
		syuu = (a + b) * 2;
		
		System.out.println(menseki + " " + syuu);

	}

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

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int a = sc.nextInt();
		int b = sc.nextInt();
		sc.close();
		
		int menseki,syuu;
		
		menseki = a * b;
		syuu = (a + b) * 2;
		
		System.out.println(menseki + " " + syuu);

	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int a = sc.nextInt();
		int b = sc.nextInt();
		sc.close();
		
		int menseki,syuu;
		
		menseki = a * b;
		syuu = (a + b) * 2;
		
		System.out.println(menseki + " " + syuu);

	} main {
		Scanner sc = new Scanner(System.in);

		int a = sc.nextInt();
		int b = sc.nextInt();
		sc.close();
		
		int menseki,syuu;
		
		menseki = a * b;
		syuu = (a + b) * 2;
		
		System.out.println(menseki + " " + syuu);

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc sc.close() sc.close sc int menseki menseki syuu; syuu menseki = a * b menseki a * b a b syuu = (a + b) * 2 syuu (a + b) * 2 (a + b) a b 2 System.out.println(menseki + " " + syuu) System.out.println System.out System System.out menseki + " " + syuu menseki + " " + syuu menseki " " syuu String[] args args
import java.util.Scanner;

class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		int a = sc.nextInt();
		int b = sc.nextInt();
		sc.close();
		
		int menseki,syuu;
		
		menseki = a * b;
		syuu = (a + b) * 2;
		
		System.out.println(menseki + " " + syuu);

	}

}