Paying up ,MARCHA1 ,Wrong Answer...please help me..

@pranish_dahal I added extra case to my answer for which your code fails.

@vinayawsm thank you for the data…advice taken…

at last solution accepted…thank you all for the support…@vinayawsm ,@kunal361, @shubhamsingh.sky

is there anyone who can help me?