Brain teaser exercise