In a school, there are students in section-A, students in section-B and students in section-C. Find the number of ways, in which students can be selected such that it includes at least students from each section and at most students from the total students in section-A and section-B.