A simple problem to solve in different styles