An input file (grades.txt) contains a list of names and grades. Each line contains one
full name and one grade. The name can be one “word” (Snoopy) or more than one
“word” (Lucy van Pelt).
Read the input file and do the following:
• Create a list of the names (each name is an element of the list). The format
of the name should be Lastname, Firstname. The first name will not be
more than one word.
• Sort the list and print it. Then print ‘end of sorted list of names’.
• Compute the average, and keep track of the lowest and highest grade.
• Print the average, high and low grades
First Name Last Name


Class Average:
Highest Grade:
Lowest Grade: