(define (mystery x y z)
  (cond ((>= y x) (>= z x))
        ((and (> x y) (> z y)) 3)
        (else 5)))

(mystery 3 4 2)