Duolingo Interview Question

Given an input identify the DS