FINAL GRADE = 0.7*(EXAM)+0.2*(MIDTERM)+0.1*Max[EXAM,HOMEWORK]