import java.util.Scanner;
public class Main{
	int m,s;
	public void solve(){
		Scanner sc=new Scanner(System.in);
		int a =sc.nextInt();
		int b =sc.nextInt();
		
		m=a*b;
		s=(a+b)*2;
		
		System.out.println(m+" "+s);
	}
	
	public static void main(String[]args){
		Main obj=new Main();
		obj.solve();
	}
} import java.util.Scanner; Scanner java.util public class Main{
	int m,s;
	public void solve(){
		Scanner sc=new Scanner(System.in);
		int a =sc.nextInt();
		int b =sc.nextInt();
		
		m=a*b;
		s=(a+b)*2;
		
		System.out.println(m+" "+s);
	}
	
	public static void main(String[]args){
		Main obj=new Main();
		obj.solve();
	}
} Main int m m s; s public void solve(){
		Scanner sc=new Scanner(System.in);
		int a =sc.nextInt();
		int b =sc.nextInt();
		
		m=a*b;
		s=(a+b)*2;
		
		System.out.println(m+" "+s);
	} solve {
		Scanner sc=new Scanner(System.in);
		int a =sc.nextInt();
		int b =sc.nextInt();
		
		m=a*b;
		s=(a+b)*2;
		
		System.out.println(m+" "+s);
	} 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 m=a*b m a*b a b s=(a+b)*2 s (a+b)*2 (a+b) a b 2 System.out.println(m+" "+s) System.out.println System.out System System.out m+" "+s m+" "+s m " " s public static void main(String[]args){
		Main obj=new Main();
		obj.solve();
	} main {
		Main obj=new Main();
		obj.solve();
	} Main obj=new Main(); obj new Main() obj.solve() obj.solve obj String[]args args public class Main{
	int m,s;
	public void solve(){
		Scanner sc=new Scanner(System.in);
		int a =sc.nextInt();
		int b =sc.nextInt();
		
		m=a*b;
		s=(a+b)*2;
		
		System.out.println(m+" "+s);
	}
	
	public static void main(String[]args){
		Main obj=new Main();
		obj.solve();
	}
} public class Main{
	int m,s;
	public void solve(){
		Scanner sc=new Scanner(System.in);
		int a =sc.nextInt();
		int b =sc.nextInt();
		
		m=a*b;
		s=(a+b)*2;
		
		System.out.println(m+" "+s);
	}
	
	public static void main(String[]args){
		Main obj=new Main();
		obj.solve();
	}
} Main
import java.util.Scanner;
public class Main{
	int m,s;
	public void solve(){
		Scanner sc=new Scanner(System.in);
		int a =sc.nextInt();
		int b =sc.nextInt();
		
		m=a*b;
		s=(a+b)*2;
		
		System.out.println(m+" "+s);
	}
	
	public static void main(String[]args){
		Main obj=new Main();
		obj.solve();
	}
}