Calculation of equal number of apples for each student, according to the results of entering the number of students and apples