Yes and you can enter them even if the middle school uses a different grading system, eg trimesters instead of semesters. Note that the grades themselves don’t actually count for admissions (WGPA) purposes, it’s only relevant that you passed the courses to get the bonus points in the admissions formula (whatever that is nowadays).