Given marks of students, find how many passed (>= 40).: Easy Programming Problem