Accenture interview question

Overriding rules they asked