(defun main (&rest argv) (declare (ignorable argv)) (let* ((a (read)) (b (read))) (format t "~d~%" (if (= a b) (1- (* 2 a)) (* 2 (min a b)))))) (main)