1,0
1,9
1,3
9,0
9,1
9,3
9,5
3,0
3,9
5,0
Explanation : digit before comma(,) can go to digit after comma.
That is, 1 can go to 0,9, and 3.
3 can go to 0,9 and so on.
The main motive of this challenge is to move from one digit to another in shortest possible moves.
Input : 1,5
Output : 3
1-->9-->5