Infosys Interview Question

Starting line of program