how to find percentage of marks of all subjects