brain teaser | Android Central