Duolingo interview question

Given an input identify the DS