Did you handle the case when
Each no ball gives you a free run and a free ball. Let us assume that Nikhilesh made bowler throw
His score in that case will be:
Sum of runs scored in no balls + Sum of extra runs due to no balls + Sum of runs scored in non-no balls
Final ans =