#!/bin/bash
read a b
c=$(($a + $b))
d=$(($a * $b))
e=$(($a - $b))

if [ $c -gt $d -a $c -gt $e ]; then
	answer=$c
fi
if [ $d -gt $c -a $d -gt $e ]; then
	answer=$d
fi
if [ $e -gt $c -a $e -gt $d ]; then
	answer=$e
fi
echo $answer -e
exit 0