import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner scan = new Scanner(System.in);
	    int x = scan.nextInt();
		int y = scan.nextInt();
		int m = x * y;
		int s = (x+y)*2;
		System.out.println(m + " "+ s);
	}

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

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner scan = new Scanner(System.in);
	    int x = scan.nextInt();
		int y = scan.nextInt();
		int m = x * y;
		int s = (x+y)*2;
		System.out.println(m + " "+ s);
	}

} Main public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner scan = new Scanner(System.in);
	    int x = scan.nextInt();
		int y = scan.nextInt();
		int m = x * y;
		int s = (x+y)*2;
		System.out.println(m + " "+ s);
	} main {
		// TODO ?????????????????????????????????????????????
		Scanner scan = new Scanner(System.in);
	    int x = scan.nextInt();
		int y = scan.nextInt();
		int m = x * y;
		int s = (x+y)*2;
		System.out.println(m + " "+ s);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int x = scan.nextInt(); x scan.nextInt() scan.nextInt scan int y = scan.nextInt(); y scan.nextInt() scan.nextInt scan int m = x * y; m x * y x y int s = (x+y)*2; s (x+y)*2 (x+y) x y 2 System.out.println(m + " "+ s) System.out.println System.out System System.out m + " "+ s m + " "+ s m " " s String[] args args public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner scan = new Scanner(System.in);
	    int x = scan.nextInt();
		int y = scan.nextInt();
		int m = x * y;
		int s = (x+y)*2;
		System.out.println(m + " "+ s);
	}

} public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner scan = new Scanner(System.in);
	    int x = scan.nextInt();
		int y = scan.nextInt();
		int m = x * y;
		int s = (x+y)*2;
		System.out.println(m + " "+ s);
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner scan = new Scanner(System.in);
	    int x = scan.nextInt();
		int y = scan.nextInt();
		int m = x * y;
		int s = (x+y)*2;
		System.out.println(m + " "+ s);
	}

}