Outputting numbers of passed / failed students according to leaving school certificates