SNY interview question

Nothing complicated