import java.util.Scanner;

public class Main {
	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int height = scanner.nextInt();
		int width = scanner.nextInt();

		// ??¢???
		int area = height * width;

		// ??¨????????????
		int lengthOfAround = (height * 2) + (width * 2);

		System.out.println(area + " " + lengthOfAround);
	}

} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int height = scanner.nextInt();
		int width = scanner.nextInt();

		// ??¢???
		int area = height * width;

		// ??¨????????????
		int lengthOfAround = (height * 2) + (width * 2);

		System.out.println(area + " " + lengthOfAround);
	}

} Main public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int height = scanner.nextInt();
		int width = scanner.nextInt();

		// ??¢???
		int area = height * width;

		// ??¨????????????
		int lengthOfAround = (height * 2) + (width * 2);

		System.out.println(area + " " + lengthOfAround);
	} main {

		Scanner scanner = new Scanner(System.in);

		int height = scanner.nextInt();
		int width = scanner.nextInt();

		// ??¢???
		int area = height * width;

		// ??¨????????????
		int lengthOfAround = (height * 2) + (width * 2);

		System.out.println(area + " " + lengthOfAround);
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int height = scanner.nextInt(); height scanner.nextInt() scanner.nextInt scanner int width = scanner.nextInt(); width scanner.nextInt() scanner.nextInt scanner int area = height * width; area height * width height width int lengthOfAround = (height * 2) + (width * 2); lengthOfAround (height * 2) + (width * 2) (height * 2) height 2 (width * 2) width 2 System.out.println(area + " " + lengthOfAround) System.out.println System.out System System.out area + " " + lengthOfAround area + " " + lengthOfAround area " " lengthOfAround String[] args args public class Main {
	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int height = scanner.nextInt();
		int width = scanner.nextInt();

		// ??¢???
		int area = height * width;

		// ??¨????????????
		int lengthOfAround = (height * 2) + (width * 2);

		System.out.println(area + " " + lengthOfAround);
	}

} public class Main {
	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int height = scanner.nextInt();
		int width = scanner.nextInt();

		// ??¢???
		int area = height * width;

		// ??¨????????????
		int lengthOfAround = (height * 2) + (width * 2);

		System.out.println(area + " " + lengthOfAround);
	}

} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);

		int height = scanner.nextInt();
		int width = scanner.nextInt();

		// ??¢???
		int area = height * width;

		// ??¨????????????
		int lengthOfAround = (height * 2) + (width * 2);

		System.out.println(area + " " + lengthOfAround);
	}

}