You are given two integers A and B. Find the largest value among A+B, A-B and A \times B.

Constraints

* -1000 \leq A,B \leq 1000
* All values in input are integers.

Input

Input is given from Standard Input in the following format:


A B


Output

Print the largest value among A+B, A-B and A \times B.

Examples

Input

3 1


Output

4


Input

4 -2


Output

6


Input

0 0


Output

0
import java.util.*;
public class Main {
	public static void main(String[] args) {
	Scanner sc = new Scanner(System.in);
	int []z = new int[3];
	int A = sc.nextInt();
	int B = sc.nextInt();
	z[0]=A+B;z[1]=A-B;z[2]=A*B;
	int max = z[0];
	for(int i=1;i<3;i++) {
    if(max<z[i]){
    	max = z[i];
    }		
	}
	System.out.println(max);	
	}
}