Accenture interview question

Wasn't difficult