Itlize Global interview question

what would be the correct output for certain codes