Simple input(1 test case not passing)

My code is not passing 1 test case. can you tell what it is?

Change line 11 to
if(sum>=0)