Lisp Are Equally Strong
(defun are-equally-strong (your-left your-right friends-left friends-right)
(and (= (max your-right your-left) (max friends-left friends-right))
(= (min your-left your-right) (min friends-right friends-left))))
This compares each person’s strongest and weakest arm. If both pairs match, the result is true.