Deloitte interview question

basic aptitute