EY interview question

Question was pretty tricky in accounting section