Each class lasts 45 minutes.
There are 8 classes in each subject in primary school, 3 classes in force, 3 classes in intelligence and 3 classes in charm. There are 9 subjects in a class, so the time to finish primary school is 45 * 8 * 9 = 3240 minutes.
The middle school curriculum is the same, it is also 9 subjects, each subject has 20 classes, so the time to finish a middle school class is =45*20*9=8 100 minutes;
The same is true for university courses, with 9 subjects and 40 lessons in each subject, so the time to complete the university course is =45*40*9= 16200 minutes;
Time required to participate in the whole course = 3240+8100+16200 = 27540 minutes =459 hours.