Solves swordfish.