WD interview question

Simple logic with broken language.