(defun main (&rest argv) (declare (ignorable argv)) (let* ((m (read)) (n (read)) (c (read))) (declare (ignore c)) (format t "~a~%" (cond ((and (oddp n) (oddp m)) "NO") ((or (and (= n 1) (= m 2)) (and (= n 2) (= m 1))) "YES") ((or (= n 1) (= m 1)) "NO") (t "YES"))))) (main)