Please add some more test case for this problem if I am not wrong.
My friend's submission 120906590 is showing AC but I think it should be wrong answer for test cases like
1005 1005
If I'm not wrong please add some more cases.