Please follow the problem statement provided to you carefully and deliver accord

Please follow the problem statement provided to you carefully and deliver accordingly. If you are not clear with any part of the problem statement please inform me at the beginning itself.
For your reference the output should look like the attached screenshot in file section.

Please follow the problem statement provided to you carefully and deliver accord

Please follow the problem statement provided to you carefully and deliver accordingly. If you are not clear with any part of the problem statement please inform me at the beginning itself.
For your reference the output should look like the attached screenshot in file section.