Solution to a riddle