My solution is giving run time error but it is passing for test cases.
Run Time Error : Religious People
hey @ap8730390
I am submitting your solution . code is fine.
Your solution is not giving run time error
That might be the c++ one , my java submitted code is giving run time error
