Run as custom input showing correct (ans:7) while submit giving wrong answer(8)


#1


#2

Clear global variables if used