Target output for prog2

Hey folks,
Here is the final output I'm getting for the default input for program 2.

- Ajinkya.