https://onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=565
does it allow multiple solution?
like 43 2 is a correct answer for the fifth test case?
I am getting wrong answer and the problem description is not clearing it.