Ballife one test case error

here’s my code i am getting one testcase error …

@Vivek-Pandey-2129725577345937 stop your program after printing -1 else it will print maxload too after printing -1.