I'm getting wrong answer for following case but get right answer if I run it as a custom input


#1

Comment body goes here.A :
[
[3, 3, 11, 12, 14]
[16, 17, 30, 34, 35]
[45, 48, 49, 50, 52]
[56, 59, 63, 63, 65]
[67, 71, 72, 73, 79]
[80, 84, 85, 85, 88]
[88, 91, 92, 93, 94]
]
B : 94