Amdocs interview question

Logic questions which test thinking skills