IBM interview question

we had first round has JAM.