Man, talk about throwing formula out the window.
You've got an A plot with the mind swapping machine and magical math solution, a B plot with Bender trying to steal the emperor's jewels (and empire), a C plot with Fry and Leela playing oneupmanship, a D plot with the Professor seeking the thrills of youth, an E plot with Amy on an eating binge, and an F(!?) plot with the forbidden love between Scruffy and his Washbucket.
All resolved handily in 23 minutes. Ye gods!