Solve the Advertising Puzzle