The compiled enrolled in the three grades at Willmar middle is 977. There are 356 students in the seventh grade and 365 in the eight grade. Write and solve an equation to find how many students are in the sixth grade. What's is the Equation and the solution in this problem?