Cognizant interview question

logical questions computing basic math skills.