HCLTech interview question

it was simple