import java.util.*;

public class Main {
    
    public static void main(String arg[]) {
        try{
            Scanner scan = new Scanner(System.in);
            int a = scan.nextInt();
            int b = scan.nextInt();
            if(0<a && a<101 && 0<b && b<101){
            int x = a*b;
            int y = (a + b)*2;
            System.out.println(x+" "+y);
            }else{
                System.out.println("1??????100?????§???????????§???");
            }
            
        }catch(InputMismatchException ex){
            System.out.println("1??????100?????§????????¶??°?????\?????????????????????");
        }
    }
} import java.util.*; util.* java public class Main {
    
    public static void main(String arg[]) {
        try{
            Scanner scan = new Scanner(System.in);
            int a = scan.nextInt();
            int b = scan.nextInt();
            if(0<a && a<101 && 0<b && b<101){
            int x = a*b;
            int y = (a + b)*2;
            System.out.println(x+" "+y);
            }else{
                System.out.println("1??????100?????§???????????§???");
            }
            
        }catch(InputMismatchException ex){
            System.out.println("1??????100?????§????????¶??°?????\?????????????????????");
        }
    }
} Main public static void main(String arg[]) {
        try{
            Scanner scan = new Scanner(System.in);
            int a = scan.nextInt();
            int b = scan.nextInt();
            if(0<a && a<101 && 0<b && b<101){
            int x = a*b;
            int y = (a + b)*2;
            System.out.println(x+" "+y);
            }else{
                System.out.println("1??????100?????§???????????§???");
            }
            
        }catch(InputMismatchException ex){
            System.out.println("1??????100?????§????????¶??°?????\?????????????????????");
        }
    } main {
        try{
            Scanner scan = new Scanner(System.in);
            int a = scan.nextInt();
            int b = scan.nextInt();
            if(0<a && a<101 && 0<b && b<101){
            int x = a*b;
            int y = (a + b)*2;
            System.out.println(x+" "+y);
            }else{
                System.out.println("1??????100?????§???????????§???");
            }
            
        }catch(InputMismatchException ex){
            System.out.println("1??????100?????§????????¶??°?????\?????????????????????");
        }
    } try{
            Scanner scan = new Scanner(System.in);
            int a = scan.nextInt();
            int b = scan.nextInt();
            if(0<a && a<101 && 0<b && b<101){
            int x = a*b;
            int y = (a + b)*2;
            System.out.println(x+" "+y);
            }else{
                System.out.println("1??????100?????§???????????§???");
            }
            
        }catch(InputMismatchException ex){
            System.out.println("1??????100?????§????????¶??°?????\?????????????????????");
        } catch(InputMismatchException ex){
            System.out.println("1??????100?????§????????¶??°?????\?????????????????????");
        } InputMismatchException ex {
            System.out.println("1??????100?????§????????¶??°?????\?????????????????????");
        } System.out.println("1??????100?????§????????¶??°?????\?????????????????????") System.out.println System.out System System.out "1??????100?????§????????¶??°?????\?????????????????????" {
            Scanner scan = new Scanner(System.in);
            int a = scan.nextInt();
            int b = scan.nextInt();
            if(0<a && a<101 && 0<b && b<101){
            int x = a*b;
            int y = (a + b)*2;
            System.out.println(x+" "+y);
            }else{
                System.out.println("1??????100?????§???????????§???");
            }
            
        } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan if(0<a && a<101 && 0<b && b<101){
            int x = a*b;
            int y = (a + b)*2;
            System.out.println(x+" "+y);
            }else{
                System.out.println("1??????100?????§???????????§???");
            } 0<a && a<101 && 0<b && b<101 0<b 0<a && a<101 && 0<b && b<101 0<a 0 a a<101 a 101 0<b 0 b b<101 b 101 {
            int x = a*b;
            int y = (a + b)*2;
            System.out.println(x+" "+y);
            } int x = a*b; x a*b a b int y = (a + b)*2; y (a + b)*2 (a + b) a b 2 System.out.println(x+" "+y) System.out.println System.out System System.out x+" "+y x+" "+y x " " y {
                System.out.println("1??????100?????§???????????§???");
            } System.out.println("1??????100?????§???????????§???") System.out.println System.out System System.out "1??????100?????§???????????§???" String arg[] arg public class Main {
    
    public static void main(String arg[]) {
        try{
            Scanner scan = new Scanner(System.in);
            int a = scan.nextInt();
            int b = scan.nextInt();
            if(0<a && a<101 && 0<b && b<101){
            int x = a*b;
            int y = (a + b)*2;
            System.out.println(x+" "+y);
            }else{
                System.out.println("1??????100?????§???????????§???");
            }
            
        }catch(InputMismatchException ex){
            System.out.println("1??????100?????§????????¶??°?????\?????????????????????");
        }
    }
} public class Main {
    
    public static void main(String arg[]) {
        try{
            Scanner scan = new Scanner(System.in);
            int a = scan.nextInt();
            int b = scan.nextInt();
            if(0<a && a<101 && 0<b && b<101){
            int x = a*b;
            int y = (a + b)*2;
            System.out.println(x+" "+y);
            }else{
                System.out.println("1??????100?????§???????????§???");
            }
            
        }catch(InputMismatchException ex){
            System.out.println("1??????100?????§????????¶??°?????\?????????????????????");
        }
    }
} Main
import java.util.*;

public class Main {
    
    public static void main(String arg[]) {
        try{
            Scanner scan = new Scanner(System.in);
            int a = scan.nextInt();
            int b = scan.nextInt();
            if(0<a && a<101 && 0<b && b<101){
            int x = a*b;
            int y = (a + b)*2;
            System.out.println(x+" "+y);
            }else{
                System.out.println("1??????100?????§???????????§???");
            }
            
        }catch(InputMismatchException ex){
            System.out.println("1??????100?????§????????¶??°?????\?????????????????????");
        }
    }
}