Kelly interview question

The shift I could work