IGATE interview question

It was easy.