Express the given quantity in terms of the indicated variable.

The average of three test scores if the first two scores are 77 and 99; s = third test score.