Accenture interview question

Nothing so difficult was asked. Was general logics only.