special case III (where up and down nos. are same)
example 1
5372 –
1478
3894
5 – 1 = 4 3 (donated 1 to right)
3 – 4 = 9 8 (13 – 4) = 8 (as 2<8)
7 – 7 = 9 (special case if right no. needs donation hen it will be 9)
2 – 8 = 4 (12 – 4 = 8)
The final answer will be 3894
Example 2
53721 –
14712
39009
5 – 1 = 4 3 (right no. needs donation)
3 – 4 = 9 (13 – 4 = 9)
7 – 7 = 0
2 – 1 = 1 0 (right no. needs donation)
1 – 2 = 9 (11 – 2 = 9)
The final answer will be 39009
Example 3
8325 –
2327
5998
8 -2 = 6 5 (right no. needs donation 5)
3 – 3 =9 (special case)
2 – 2 = 9 (special case)
5 – 7 = 8 ( 15 – 7 = 8)
The final answer will be 5998