A group of 31 pupils signed up for a weekend computer course. They paid a total of P315.50. How much did each pupil pay?