Input (grade 3): One point is scored for each ball pocketed where no is made.
Output (grade 5): One point is scored for each ball pocketed legally (that is, without a foul).