Medium puzzle 31