read a b; if [ $a -lt $b ]; then echo $a else echo $b fi