Judge is showing wrong ans for correct output


#1

if A=90 , B = 47
then a alternative solution to 90(shown by judge) can also be 2.Correct me if I am wrong


#2

The problem says that X needs to be maximum, hence 90 is the only correct answer.