Wrong answer for correct output


#1

For Input
A: 71
B: 33
I am getting correct output when I run using custom input i.e.
71

but I am getting Wrong answer while submitting. Judge says code returns
1
while the expected output is
71

Can you please check what the issue is?