SoundHound Interview Question

Language labeling puzzle on the whiteboard