if($input == 6) { print "You have chosen option 6\n"; } else { exit; }