A.M. Best interview question

Output of a program