A boy needs to select five courses from \( 12 \) available courses, out of which \( 5 \) courses are language courses. If he can choose at most two language courses, then the number of ways he can choose five courses is _______.