input_test
stringlengths 35
51
| scratchpad
stringlengths 1.43k
1.75k
| result_final
stringlengths 17
18
| y_digits
int64 1
17
|
---|---|---|---|
Input:
90+84880429827076818
Target:
| Input:
90+84880429827076818
Target:
[9,0] + [8,4,8,8,0,4,2,9,8,2,7,0,7,6,8,1,8] , A=[] , C=0 , 0+8+0=8 , A->8 , C->0
[9] + [8,4,8,8,0,4,2,9,8,2,7,0,7,6,8,1] , A=[8] , C=0 , 9+1+0=10 , A->0 , C->1
[] + [8,4,8,8,0,4,2,9,8,2,7,0,7,6,8] , A=[0,8] , C=1 , 0+8+1=9 , A->9 , C->0
[] + [8,4,8,8,0,4,2,9,8,2,7,0,7,6] , A=[9,0,8] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [8,4,8,8,0,4,2,9,8,2,7,0,7] , A=[6,9,0,8] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [8,4,8,8,0,4,2,9,8,2,7,0] , A=[7,6,9,0,8] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [8,4,8,8,0,4,2,9,8,2,7] , A=[0,7,6,9,0,8] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [8,4,8,8,0,4,2,9,8,2] , A=[7,0,7,6,9,0,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [8,4,8,8,0,4,2,9,8] , A=[2,7,0,7,6,9,0,8] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [8,4,8,8,0,4,2,9] , A=[8,2,7,0,7,6,9,0,8] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [8,4,8,8,0,4,2] , A=[9,8,2,7,0,7,6,9,0,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [8,4,8,8,0,4] , A=[2,9,8,2,7,0,7,6,9,0,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [8,4,8,8,0] , A=[4,2,9,8,2,7,0,7,6,9,0,8] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [8,4,8,8] , A=[0,4,2,9,8,2,7,0,7,6,9,0,8] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [8,4,8] , A=[8,0,4,2,9,8,2,7,0,7,6,9,0,8] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [8,4] , A=[8,8,0,4,2,9,8,2,7,0,7,6,9,0,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [8] , A=[4,8,8,0,4,2,9,8,2,7,0,7,6,9,0,8] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,4,8,8,0,4,2,9,8,2,7,0,7,6,9,0,8] C=0 , END
</scratch>
84880429827076908
| 84880429827076908 | 2 |
Input:
41+73607160082383712
Target:
| Input:
41+73607160082383712
Target:
[4,1] + [7,3,6,0,7,1,6,0,0,8,2,3,8,3,7,1,2] , A=[] , C=0 , 1+2+0=3 , A->3 , C->0
[4] + [7,3,6,0,7,1,6,0,0,8,2,3,8,3,7,1] , A=[3] , C=0 , 4+1+0=5 , A->5 , C->0
[] + [7,3,6,0,7,1,6,0,0,8,2,3,8,3,7] , A=[5,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [7,3,6,0,7,1,6,0,0,8,2,3,8,3] , A=[7,5,3] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [7,3,6,0,7,1,6,0,0,8,2,3,8] , A=[3,7,5,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [7,3,6,0,7,1,6,0,0,8,2,3] , A=[8,3,7,5,3] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [7,3,6,0,7,1,6,0,0,8,2] , A=[3,8,3,7,5,3] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [7,3,6,0,7,1,6,0,0,8] , A=[2,3,8,3,7,5,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [7,3,6,0,7,1,6,0,0] , A=[8,2,3,8,3,7,5,3] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7,3,6,0,7,1,6,0] , A=[0,8,2,3,8,3,7,5,3] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7,3,6,0,7,1,6] , A=[0,0,8,2,3,8,3,7,5,3] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [7,3,6,0,7,1] , A=[6,0,0,8,2,3,8,3,7,5,3] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [7,3,6,0,7] , A=[1,6,0,0,8,2,3,8,3,7,5,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [7,3,6,0] , A=[7,1,6,0,0,8,2,3,8,3,7,5,3] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7,3,6] , A=[0,7,1,6,0,0,8,2,3,8,3,7,5,3] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [7,3] , A=[6,0,7,1,6,0,0,8,2,3,8,3,7,5,3] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [7] , A=[3,6,0,7,1,6,0,0,8,2,3,8,3,7,5,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,3,6,0,7,1,6,0,0,8,2,3,8,3,7,5,3] C=0 , END
</scratch>
73607160082383753
| 73607160082383753 | 2 |
Input:
28478925020081147+4649858975782
Target:
| Input:
28478925020081147+4649858975782
Target:
[2,8,4,7,8,9,2,5,0,2,0,0,8,1,1,4,7] + [4,6,4,9,8,5,8,9,7,5,7,8,2] , A=[] , C=0 , 7+2+0=9 , A->9 , C->0
[2,8,4,7,8,9,2,5,0,2,0,0,8,1,1,4] + [4,6,4,9,8,5,8,9,7,5,7,8] , A=[9] , C=0 , 4+8+0=12 , A->2 , C->1
[2,8,4,7,8,9,2,5,0,2,0,0,8,1,1] + [4,6,4,9,8,5,8,9,7,5,7] , A=[2,9] , C=1 , 1+7+1=9 , A->9 , C->0
[2,8,4,7,8,9,2,5,0,2,0,0,8,1] + [4,6,4,9,8,5,8,9,7,5] , A=[9,2,9] , C=0 , 1+5+0=6 , A->6 , C->0
[2,8,4,7,8,9,2,5,0,2,0,0,8] + [4,6,4,9,8,5,8,9,7] , A=[6,9,2,9] , C=0 , 8+7+0=15 , A->5 , C->1
[2,8,4,7,8,9,2,5,0,2,0,0] + [4,6,4,9,8,5,8,9] , A=[5,6,9,2,9] , C=1 , 0+9+1=10 , A->0 , C->1
[2,8,4,7,8,9,2,5,0,2,0] + [4,6,4,9,8,5,8] , A=[0,5,6,9,2,9] , C=1 , 0+8+1=9 , A->9 , C->0
[2,8,4,7,8,9,2,5,0,2] + [4,6,4,9,8,5] , A=[9,0,5,6,9,2,9] , C=0 , 2+5+0=7 , A->7 , C->0
[2,8,4,7,8,9,2,5,0] + [4,6,4,9,8] , A=[7,9,0,5,6,9,2,9] , C=0 , 0+8+0=8 , A->8 , C->0
[2,8,4,7,8,9,2,5] + [4,6,4,9] , A=[8,7,9,0,5,6,9,2,9] , C=0 , 5+9+0=14 , A->4 , C->1
[2,8,4,7,8,9,2] + [4,6,4] , A=[4,8,7,9,0,5,6,9,2,9] , C=1 , 2+4+1=7 , A->7 , C->0
[2,8,4,7,8,9] + [4,6] , A=[7,4,8,7,9,0,5,6,9,2,9] , C=0 , 9+6+0=15 , A->5 , C->1
[2,8,4,7,8] + [4] , A=[5,7,4,8,7,9,0,5,6,9,2,9] , C=1 , 8+4+1=13 , A->3 , C->1
[2,8,4,7] + [] , A=[3,5,7,4,8,7,9,0,5,6,9,2,9] , C=1 , 7+0+1=8 , A->8 , C->0
[2,8,4] + [] , A=[8,3,5,7,4,8,7,9,0,5,6,9,2,9] , C=0 , 4+0+0=4 , A->4 , C->0
[2,8] + [] , A=[4,8,3,5,7,4,8,7,9,0,5,6,9,2,9] , C=0 , 8+0+0=8 , A->8 , C->0
[2] + [] , A=[8,4,8,3,5,7,4,8,7,9,0,5,6,9,2,9] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,8,4,8,3,5,7,4,8,7,9,0,5,6,9,2,9] C=0 , END
</scratch>
28483574879056929
| 28483574879056929 | 13 |
Input:
89307948605108+90156973307576943
Target:
| Input:
89307948605108+90156973307576943
Target:
[8,9,3,0,7,9,4,8,6,0,5,1,0,8] + [9,0,1,5,6,9,7,3,3,0,7,5,7,6,9,4,3] , A=[] , C=0 , 8+3+0=11 , A->1 , C->1
[8,9,3,0,7,9,4,8,6,0,5,1,0] + [9,0,1,5,6,9,7,3,3,0,7,5,7,6,9,4] , A=[1] , C=1 , 0+4+1=5 , A->5 , C->0
[8,9,3,0,7,9,4,8,6,0,5,1] + [9,0,1,5,6,9,7,3,3,0,7,5,7,6,9] , A=[5,1] , C=0 , 1+9+0=10 , A->0 , C->1
[8,9,3,0,7,9,4,8,6,0,5] + [9,0,1,5,6,9,7,3,3,0,7,5,7,6] , A=[0,5,1] , C=1 , 5+6+1=12 , A->2 , C->1
[8,9,3,0,7,9,4,8,6,0] + [9,0,1,5,6,9,7,3,3,0,7,5,7] , A=[2,0,5,1] , C=1 , 0+7+1=8 , A->8 , C->0
[8,9,3,0,7,9,4,8,6] + [9,0,1,5,6,9,7,3,3,0,7,5] , A=[8,2,0,5,1] , C=0 , 6+5+0=11 , A->1 , C->1
[8,9,3,0,7,9,4,8] + [9,0,1,5,6,9,7,3,3,0,7] , A=[1,8,2,0,5,1] , C=1 , 8+7+1=16 , A->6 , C->1
[8,9,3,0,7,9,4] + [9,0,1,5,6,9,7,3,3,0] , A=[6,1,8,2,0,5,1] , C=1 , 4+0+1=5 , A->5 , C->0
[8,9,3,0,7,9] + [9,0,1,5,6,9,7,3,3] , A=[5,6,1,8,2,0,5,1] , C=0 , 9+3+0=12 , A->2 , C->1
[8,9,3,0,7] + [9,0,1,5,6,9,7,3] , A=[2,5,6,1,8,2,0,5,1] , C=1 , 7+3+1=11 , A->1 , C->1
[8,9,3,0] + [9,0,1,5,6,9,7] , A=[1,2,5,6,1,8,2,0,5,1] , C=1 , 0+7+1=8 , A->8 , C->0
[8,9,3] + [9,0,1,5,6,9] , A=[8,1,2,5,6,1,8,2,0,5,1] , C=0 , 3+9+0=12 , A->2 , C->1
[8,9] + [9,0,1,5,6] , A=[2,8,1,2,5,6,1,8,2,0,5,1] , C=1 , 9+6+1=16 , A->6 , C->1
[8] + [9,0,1,5] , A=[6,2,8,1,2,5,6,1,8,2,0,5,1] , C=1 , 8+5+1=14 , A->4 , C->1
[] + [9,0,1] , A=[4,6,2,8,1,2,5,6,1,8,2,0,5,1] , C=1 , 0+1+1=2 , A->2 , C->0
[] + [9,0] , A=[2,4,6,2,8,1,2,5,6,1,8,2,0,5,1] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [9] , A=[0,2,4,6,2,8,1,2,5,6,1,8,2,0,5,1] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,0,2,4,6,2,8,1,2,5,6,1,8,2,0,5,1] C=0 , END
</scratch>
90246281256182051
| 90246281256182051 | 14 |
Input:
2401944+37896641983794248
Target:
| Input:
2401944+37896641983794248
Target:
[2,4,0,1,9,4,4] + [3,7,8,9,6,6,4,1,9,8,3,7,9,4,2,4,8] , A=[] , C=0 , 4+8+0=12 , A->2 , C->1
[2,4,0,1,9,4] + [3,7,8,9,6,6,4,1,9,8,3,7,9,4,2,4] , A=[2] , C=1 , 4+4+1=9 , A->9 , C->0
[2,4,0,1,9] + [3,7,8,9,6,6,4,1,9,8,3,7,9,4,2] , A=[9,2] , C=0 , 9+2+0=11 , A->1 , C->1
[2,4,0,1] + [3,7,8,9,6,6,4,1,9,8,3,7,9,4] , A=[1,9,2] , C=1 , 1+4+1=6 , A->6 , C->0
[2,4,0] + [3,7,8,9,6,6,4,1,9,8,3,7,9] , A=[6,1,9,2] , C=0 , 0+9+0=9 , A->9 , C->0
[2,4] + [3,7,8,9,6,6,4,1,9,8,3,7] , A=[9,6,1,9,2] , C=0 , 4+7+0=11 , A->1 , C->1
[2] + [3,7,8,9,6,6,4,1,9,8,3] , A=[1,9,6,1,9,2] , C=1 , 2+3+1=6 , A->6 , C->0
[] + [3,7,8,9,6,6,4,1,9,8] , A=[6,1,9,6,1,9,2] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [3,7,8,9,6,6,4,1,9] , A=[8,6,1,9,6,1,9,2] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [3,7,8,9,6,6,4,1] , A=[9,8,6,1,9,6,1,9,2] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [3,7,8,9,6,6,4] , A=[1,9,8,6,1,9,6,1,9,2] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [3,7,8,9,6,6] , A=[4,1,9,8,6,1,9,6,1,9,2] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [3,7,8,9,6] , A=[6,4,1,9,8,6,1,9,6,1,9,2] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [3,7,8,9] , A=[6,6,4,1,9,8,6,1,9,6,1,9,2] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [3,7,8] , A=[9,6,6,4,1,9,8,6,1,9,6,1,9,2] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [3,7] , A=[8,9,6,6,4,1,9,8,6,1,9,6,1,9,2] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [3] , A=[7,8,9,6,6,4,1,9,8,6,1,9,6,1,9,2] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [] , A=[3,7,8,9,6,6,4,1,9,8,6,1,9,6,1,9,2] C=0 , END
</scratch>
37896641986196192
| 37896641986196192 | 7 |
Input:
12028388674495788+2
Target:
| Input:
12028388674495788+2
Target:
[1,2,0,2,8,3,8,8,6,7,4,4,9,5,7,8,8] + [2] , A=[] , C=0 , 8+2+0=10 , A->0 , C->1
[1,2,0,2,8,3,8,8,6,7,4,4,9,5,7,8] + [] , A=[0] , C=1 , 8+0+1=9 , A->9 , C->0
[1,2,0,2,8,3,8,8,6,7,4,4,9,5,7] + [] , A=[9,0] , C=0 , 7+0+0=7 , A->7 , C->0
[1,2,0,2,8,3,8,8,6,7,4,4,9,5] + [] , A=[7,9,0] , C=0 , 5+0+0=5 , A->5 , C->0
[1,2,0,2,8,3,8,8,6,7,4,4,9] + [] , A=[5,7,9,0] , C=0 , 9+0+0=9 , A->9 , C->0
[1,2,0,2,8,3,8,8,6,7,4,4] + [] , A=[9,5,7,9,0] , C=0 , 4+0+0=4 , A->4 , C->0
[1,2,0,2,8,3,8,8,6,7,4] + [] , A=[4,9,5,7,9,0] , C=0 , 4+0+0=4 , A->4 , C->0
[1,2,0,2,8,3,8,8,6,7] + [] , A=[4,4,9,5,7,9,0] , C=0 , 7+0+0=7 , A->7 , C->0
[1,2,0,2,8,3,8,8,6] + [] , A=[7,4,4,9,5,7,9,0] , C=0 , 6+0+0=6 , A->6 , C->0
[1,2,0,2,8,3,8,8] + [] , A=[6,7,4,4,9,5,7,9,0] , C=0 , 8+0+0=8 , A->8 , C->0
[1,2,0,2,8,3,8] + [] , A=[8,6,7,4,4,9,5,7,9,0] , C=0 , 8+0+0=8 , A->8 , C->0
[1,2,0,2,8,3] + [] , A=[8,8,6,7,4,4,9,5,7,9,0] , C=0 , 3+0+0=3 , A->3 , C->0
[1,2,0,2,8] + [] , A=[3,8,8,6,7,4,4,9,5,7,9,0] , C=0 , 8+0+0=8 , A->8 , C->0
[1,2,0,2] + [] , A=[8,3,8,8,6,7,4,4,9,5,7,9,0] , C=0 , 2+0+0=2 , A->2 , C->0
[1,2,0] + [] , A=[2,8,3,8,8,6,7,4,4,9,5,7,9,0] , C=0 , 0+0+0=0 , A->0 , C->0
[1,2] + [] , A=[0,2,8,3,8,8,6,7,4,4,9,5,7,9,0] , C=0 , 2+0+0=2 , A->2 , C->0
[1] + [] , A=[2,0,2,8,3,8,8,6,7,4,4,9,5,7,9,0] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,2,0,2,8,3,8,8,6,7,4,4,9,5,7,9,0] C=0 , END
</scratch>
12028388674495790
| 12028388674495790 | 1 |
Input:
57293543597405860+3240309
Target:
| Input:
57293543597405860+3240309
Target:
[5,7,2,9,3,5,4,3,5,9,7,4,0,5,8,6,0] + [3,2,4,0,3,0,9] , A=[] , C=0 , 0+9+0=9 , A->9 , C->0
[5,7,2,9,3,5,4,3,5,9,7,4,0,5,8,6] + [3,2,4,0,3,0] , A=[9] , C=0 , 6+0+0=6 , A->6 , C->0
[5,7,2,9,3,5,4,3,5,9,7,4,0,5,8] + [3,2,4,0,3] , A=[6,9] , C=0 , 8+3+0=11 , A->1 , C->1
[5,7,2,9,3,5,4,3,5,9,7,4,0,5] + [3,2,4,0] , A=[1,6,9] , C=1 , 5+0+1=6 , A->6 , C->0
[5,7,2,9,3,5,4,3,5,9,7,4,0] + [3,2,4] , A=[6,1,6,9] , C=0 , 0+4+0=4 , A->4 , C->0
[5,7,2,9,3,5,4,3,5,9,7,4] + [3,2] , A=[4,6,1,6,9] , C=0 , 4+2+0=6 , A->6 , C->0
[5,7,2,9,3,5,4,3,5,9,7] + [3] , A=[6,4,6,1,6,9] , C=0 , 7+3+0=10 , A->0 , C->1
[5,7,2,9,3,5,4,3,5,9] + [] , A=[0,6,4,6,1,6,9] , C=1 , 9+0+1=10 , A->0 , C->1
[5,7,2,9,3,5,4,3,5] + [] , A=[0,0,6,4,6,1,6,9] , C=1 , 5+0+1=6 , A->6 , C->0
[5,7,2,9,3,5,4,3] + [] , A=[6,0,0,6,4,6,1,6,9] , C=0 , 3+0+0=3 , A->3 , C->0
[5,7,2,9,3,5,4] + [] , A=[3,6,0,0,6,4,6,1,6,9] , C=0 , 4+0+0=4 , A->4 , C->0
[5,7,2,9,3,5] + [] , A=[4,3,6,0,0,6,4,6,1,6,9] , C=0 , 5+0+0=5 , A->5 , C->0
[5,7,2,9,3] + [] , A=[5,4,3,6,0,0,6,4,6,1,6,9] , C=0 , 3+0+0=3 , A->3 , C->0
[5,7,2,9] + [] , A=[3,5,4,3,6,0,0,6,4,6,1,6,9] , C=0 , 9+0+0=9 , A->9 , C->0
[5,7,2] + [] , A=[9,3,5,4,3,6,0,0,6,4,6,1,6,9] , C=0 , 2+0+0=2 , A->2 , C->0
[5,7] + [] , A=[2,9,3,5,4,3,6,0,0,6,4,6,1,6,9] , C=0 , 7+0+0=7 , A->7 , C->0
[5] + [] , A=[7,2,9,3,5,4,3,6,0,0,6,4,6,1,6,9] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,7,2,9,3,5,4,3,6,0,0,6,4,6,1,6,9] C=0 , END
</scratch>
57293543600646169
| 57293543600646169 | 7 |
Input:
46424422068751756+830656022
Target:
| Input:
46424422068751756+830656022
Target:
[4,6,4,2,4,4,2,2,0,6,8,7,5,1,7,5,6] + [8,3,0,6,5,6,0,2,2] , A=[] , C=0 , 6+2+0=8 , A->8 , C->0
[4,6,4,2,4,4,2,2,0,6,8,7,5,1,7,5] + [8,3,0,6,5,6,0,2] , A=[8] , C=0 , 5+2+0=7 , A->7 , C->0
[4,6,4,2,4,4,2,2,0,6,8,7,5,1,7] + [8,3,0,6,5,6,0] , A=[7,8] , C=0 , 7+0+0=7 , A->7 , C->0
[4,6,4,2,4,4,2,2,0,6,8,7,5,1] + [8,3,0,6,5,6] , A=[7,7,8] , C=0 , 1+6+0=7 , A->7 , C->0
[4,6,4,2,4,4,2,2,0,6,8,7,5] + [8,3,0,6,5] , A=[7,7,7,8] , C=0 , 5+5+0=10 , A->0 , C->1
[4,6,4,2,4,4,2,2,0,6,8,7] + [8,3,0,6] , A=[0,7,7,7,8] , C=1 , 7+6+1=14 , A->4 , C->1
[4,6,4,2,4,4,2,2,0,6,8] + [8,3,0] , A=[4,0,7,7,7,8] , C=1 , 8+0+1=9 , A->9 , C->0
[4,6,4,2,4,4,2,2,0,6] + [8,3] , A=[9,4,0,7,7,7,8] , C=0 , 6+3+0=9 , A->9 , C->0
[4,6,4,2,4,4,2,2,0] + [8] , A=[9,9,4,0,7,7,7,8] , C=0 , 0+8+0=8 , A->8 , C->0
[4,6,4,2,4,4,2,2] + [] , A=[8,9,9,4,0,7,7,7,8] , C=0 , 2+0+0=2 , A->2 , C->0
[4,6,4,2,4,4,2] + [] , A=[2,8,9,9,4,0,7,7,7,8] , C=0 , 2+0+0=2 , A->2 , C->0
[4,6,4,2,4,4] + [] , A=[2,2,8,9,9,4,0,7,7,7,8] , C=0 , 4+0+0=4 , A->4 , C->0
[4,6,4,2,4] + [] , A=[4,2,2,8,9,9,4,0,7,7,7,8] , C=0 , 4+0+0=4 , A->4 , C->0
[4,6,4,2] + [] , A=[4,4,2,2,8,9,9,4,0,7,7,7,8] , C=0 , 2+0+0=2 , A->2 , C->0
[4,6,4] + [] , A=[2,4,4,2,2,8,9,9,4,0,7,7,7,8] , C=0 , 4+0+0=4 , A->4 , C->0
[4,6] + [] , A=[4,2,4,4,2,2,8,9,9,4,0,7,7,7,8] , C=0 , 6+0+0=6 , A->6 , C->0
[4] + [] , A=[6,4,2,4,4,2,2,8,9,9,4,0,7,7,7,8] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,6,4,2,4,4,2,2,8,9,9,4,0,7,7,7,8] C=0 , END
</scratch>
46424422899407778
| 46424422899407778 | 9 |
Input:
6480847738+64539590792136362
Target:
| Input:
6480847738+64539590792136362
Target:
[6,4,8,0,8,4,7,7,3,8] + [6,4,5,3,9,5,9,0,7,9,2,1,3,6,3,6,2] , A=[] , C=0 , 8+2+0=10 , A->0 , C->1
[6,4,8,0,8,4,7,7,3] + [6,4,5,3,9,5,9,0,7,9,2,1,3,6,3,6] , A=[0] , C=1 , 3+6+1=10 , A->0 , C->1
[6,4,8,0,8,4,7,7] + [6,4,5,3,9,5,9,0,7,9,2,1,3,6,3] , A=[0,0] , C=1 , 7+3+1=11 , A->1 , C->1
[6,4,8,0,8,4,7] + [6,4,5,3,9,5,9,0,7,9,2,1,3,6] , A=[1,0,0] , C=1 , 7+6+1=14 , A->4 , C->1
[6,4,8,0,8,4] + [6,4,5,3,9,5,9,0,7,9,2,1,3] , A=[4,1,0,0] , C=1 , 4+3+1=8 , A->8 , C->0
[6,4,8,0,8] + [6,4,5,3,9,5,9,0,7,9,2,1] , A=[8,4,1,0,0] , C=0 , 8+1+0=9 , A->9 , C->0
[6,4,8,0] + [6,4,5,3,9,5,9,0,7,9,2] , A=[9,8,4,1,0,0] , C=0 , 0+2+0=2 , A->2 , C->0
[6,4,8] + [6,4,5,3,9,5,9,0,7,9] , A=[2,9,8,4,1,0,0] , C=0 , 8+9+0=17 , A->7 , C->1
[6,4] + [6,4,5,3,9,5,9,0,7] , A=[7,2,9,8,4,1,0,0] , C=1 , 4+7+1=12 , A->2 , C->1
[6] + [6,4,5,3,9,5,9,0] , A=[2,7,2,9,8,4,1,0,0] , C=1 , 6+0+1=7 , A->7 , C->0
[] + [6,4,5,3,9,5,9] , A=[7,2,7,2,9,8,4,1,0,0] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [6,4,5,3,9,5] , A=[9,7,2,7,2,9,8,4,1,0,0] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [6,4,5,3,9] , A=[5,9,7,2,7,2,9,8,4,1,0,0] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [6,4,5,3] , A=[9,5,9,7,2,7,2,9,8,4,1,0,0] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [6,4,5] , A=[3,9,5,9,7,2,7,2,9,8,4,1,0,0] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [6,4] , A=[5,3,9,5,9,7,2,7,2,9,8,4,1,0,0] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6] , A=[4,5,3,9,5,9,7,2,7,2,9,8,4,1,0,0] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,4,5,3,9,5,9,7,2,7,2,9,8,4,1,0,0] C=0 , END
</scratch>
64539597272984100
| 64539597272984100 | 10 |
Input:
889086+45603390590953873
Target:
| Input:
889086+45603390590953873
Target:
[8,8,9,0,8,6] + [4,5,6,0,3,3,9,0,5,9,0,9,5,3,8,7,3] , A=[] , C=0 , 6+3+0=9 , A->9 , C->0
[8,8,9,0,8] + [4,5,6,0,3,3,9,0,5,9,0,9,5,3,8,7] , A=[9] , C=0 , 8+7+0=15 , A->5 , C->1
[8,8,9,0] + [4,5,6,0,3,3,9,0,5,9,0,9,5,3,8] , A=[5,9] , C=1 , 0+8+1=9 , A->9 , C->0
[8,8,9] + [4,5,6,0,3,3,9,0,5,9,0,9,5,3] , A=[9,5,9] , C=0 , 9+3+0=12 , A->2 , C->1
[8,8] + [4,5,6,0,3,3,9,0,5,9,0,9,5] , A=[2,9,5,9] , C=1 , 8+5+1=14 , A->4 , C->1
[8] + [4,5,6,0,3,3,9,0,5,9,0,9] , A=[4,2,9,5,9] , C=1 , 8+9+1=18 , A->8 , C->1
[] + [4,5,6,0,3,3,9,0,5,9,0] , A=[8,4,2,9,5,9] , C=1 , 0+0+1=1 , A->1 , C->0
[] + [4,5,6,0,3,3,9,0,5,9] , A=[1,8,4,2,9,5,9] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [4,5,6,0,3,3,9,0,5] , A=[9,1,8,4,2,9,5,9] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [4,5,6,0,3,3,9,0] , A=[5,9,1,8,4,2,9,5,9] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [4,5,6,0,3,3,9] , A=[0,5,9,1,8,4,2,9,5,9] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [4,5,6,0,3,3] , A=[9,0,5,9,1,8,4,2,9,5,9] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [4,5,6,0,3] , A=[3,9,0,5,9,1,8,4,2,9,5,9] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [4,5,6,0] , A=[3,3,9,0,5,9,1,8,4,2,9,5,9] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [4,5,6] , A=[0,3,3,9,0,5,9,1,8,4,2,9,5,9] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [4,5] , A=[6,0,3,3,9,0,5,9,1,8,4,2,9,5,9] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [4] , A=[5,6,0,3,3,9,0,5,9,1,8,4,2,9,5,9] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,5,6,0,3,3,9,0,5,9,1,8,4,2,9,5,9] C=0 , END
</scratch>
45603390591842959
| 45603390591842959 | 6 |
Input:
80982562082301252+38081208108499
Target:
| Input:
80982562082301252+38081208108499
Target:
[8,0,9,8,2,5,6,2,0,8,2,3,0,1,2,5,2] + [3,8,0,8,1,2,0,8,1,0,8,4,9,9] , A=[] , C=0 , 2+9+0=11 , A->1 , C->1
[8,0,9,8,2,5,6,2,0,8,2,3,0,1,2,5] + [3,8,0,8,1,2,0,8,1,0,8,4,9] , A=[1] , C=1 , 5+9+1=15 , A->5 , C->1
[8,0,9,8,2,5,6,2,0,8,2,3,0,1,2] + [3,8,0,8,1,2,0,8,1,0,8,4] , A=[5,1] , C=1 , 2+4+1=7 , A->7 , C->0
[8,0,9,8,2,5,6,2,0,8,2,3,0,1] + [3,8,0,8,1,2,0,8,1,0,8] , A=[7,5,1] , C=0 , 1+8+0=9 , A->9 , C->0
[8,0,9,8,2,5,6,2,0,8,2,3,0] + [3,8,0,8,1,2,0,8,1,0] , A=[9,7,5,1] , C=0 , 0+0+0=0 , A->0 , C->0
[8,0,9,8,2,5,6,2,0,8,2,3] + [3,8,0,8,1,2,0,8,1] , A=[0,9,7,5,1] , C=0 , 3+1+0=4 , A->4 , C->0
[8,0,9,8,2,5,6,2,0,8,2] + [3,8,0,8,1,2,0,8] , A=[4,0,9,7,5,1] , C=0 , 2+8+0=10 , A->0 , C->1
[8,0,9,8,2,5,6,2,0,8] + [3,8,0,8,1,2,0] , A=[0,4,0,9,7,5,1] , C=1 , 8+0+1=9 , A->9 , C->0
[8,0,9,8,2,5,6,2,0] + [3,8,0,8,1,2] , A=[9,0,4,0,9,7,5,1] , C=0 , 0+2+0=2 , A->2 , C->0
[8,0,9,8,2,5,6,2] + [3,8,0,8,1] , A=[2,9,0,4,0,9,7,5,1] , C=0 , 2+1+0=3 , A->3 , C->0
[8,0,9,8,2,5,6] + [3,8,0,8] , A=[3,2,9,0,4,0,9,7,5,1] , C=0 , 6+8+0=14 , A->4 , C->1
[8,0,9,8,2,5] + [3,8,0] , A=[4,3,2,9,0,4,0,9,7,5,1] , C=1 , 5+0+1=6 , A->6 , C->0
[8,0,9,8,2] + [3,8] , A=[6,4,3,2,9,0,4,0,9,7,5,1] , C=0 , 2+8+0=10 , A->0 , C->1
[8,0,9,8] + [3] , A=[0,6,4,3,2,9,0,4,0,9,7,5,1] , C=1 , 8+3+1=12 , A->2 , C->1
[8,0,9] + [] , A=[2,0,6,4,3,2,9,0,4,0,9,7,5,1] , C=1 , 9+0+1=10 , A->0 , C->1
[8,0] + [] , A=[0,2,0,6,4,3,2,9,0,4,0,9,7,5,1] , C=1 , 0+0+1=1 , A->1 , C->0
[8] + [] , A=[1,0,2,0,6,4,3,2,9,0,4,0,9,7,5,1] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,1,0,2,0,6,4,3,2,9,0,4,0,9,7,5,1] C=0 , END
</scratch>
81020643290409751
| 81020643290409751 | 14 |
Input:
13787449852012949+6191348
Target:
| Input:
13787449852012949+6191348
Target:
[1,3,7,8,7,4,4,9,8,5,2,0,1,2,9,4,9] + [6,1,9,1,3,4,8] , A=[] , C=0 , 9+8+0=17 , A->7 , C->1
[1,3,7,8,7,4,4,9,8,5,2,0,1,2,9,4] + [6,1,9,1,3,4] , A=[7] , C=1 , 4+4+1=9 , A->9 , C->0
[1,3,7,8,7,4,4,9,8,5,2,0,1,2,9] + [6,1,9,1,3] , A=[9,7] , C=0 , 9+3+0=12 , A->2 , C->1
[1,3,7,8,7,4,4,9,8,5,2,0,1,2] + [6,1,9,1] , A=[2,9,7] , C=1 , 2+1+1=4 , A->4 , C->0
[1,3,7,8,7,4,4,9,8,5,2,0,1] + [6,1,9] , A=[4,2,9,7] , C=0 , 1+9+0=10 , A->0 , C->1
[1,3,7,8,7,4,4,9,8,5,2,0] + [6,1] , A=[0,4,2,9,7] , C=1 , 0+1+1=2 , A->2 , C->0
[1,3,7,8,7,4,4,9,8,5,2] + [6] , A=[2,0,4,2,9,7] , C=0 , 2+6+0=8 , A->8 , C->0
[1,3,7,8,7,4,4,9,8,5] + [] , A=[8,2,0,4,2,9,7] , C=0 , 5+0+0=5 , A->5 , C->0
[1,3,7,8,7,4,4,9,8] + [] , A=[5,8,2,0,4,2,9,7] , C=0 , 8+0+0=8 , A->8 , C->0
[1,3,7,8,7,4,4,9] + [] , A=[8,5,8,2,0,4,2,9,7] , C=0 , 9+0+0=9 , A->9 , C->0
[1,3,7,8,7,4,4] + [] , A=[9,8,5,8,2,0,4,2,9,7] , C=0 , 4+0+0=4 , A->4 , C->0
[1,3,7,8,7,4] + [] , A=[4,9,8,5,8,2,0,4,2,9,7] , C=0 , 4+0+0=4 , A->4 , C->0
[1,3,7,8,7] + [] , A=[4,4,9,8,5,8,2,0,4,2,9,7] , C=0 , 7+0+0=7 , A->7 , C->0
[1,3,7,8] + [] , A=[7,4,4,9,8,5,8,2,0,4,2,9,7] , C=0 , 8+0+0=8 , A->8 , C->0
[1,3,7] + [] , A=[8,7,4,4,9,8,5,8,2,0,4,2,9,7] , C=0 , 7+0+0=7 , A->7 , C->0
[1,3] + [] , A=[7,8,7,4,4,9,8,5,8,2,0,4,2,9,7] , C=0 , 3+0+0=3 , A->3 , C->0
[1] + [] , A=[3,7,8,7,4,4,9,8,5,8,2,0,4,2,9,7] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,3,7,8,7,4,4,9,8,5,8,2,0,4,2,9,7] C=0 , END
</scratch>
13787449858204297
| 13787449858204297 | 7 |
Input:
7588040+97681261587248762
Target:
| Input:
7588040+97681261587248762
Target:
[7,5,8,8,0,4,0] + [9,7,6,8,1,2,6,1,5,8,7,2,4,8,7,6,2] , A=[] , C=0 , 0+2+0=2 , A->2 , C->0
[7,5,8,8,0,4] + [9,7,6,8,1,2,6,1,5,8,7,2,4,8,7,6] , A=[2] , C=0 , 4+6+0=10 , A->0 , C->1
[7,5,8,8,0] + [9,7,6,8,1,2,6,1,5,8,7,2,4,8,7] , A=[0,2] , C=1 , 0+7+1=8 , A->8 , C->0
[7,5,8,8] + [9,7,6,8,1,2,6,1,5,8,7,2,4,8] , A=[8,0,2] , C=0 , 8+8+0=16 , A->6 , C->1
[7,5,8] + [9,7,6,8,1,2,6,1,5,8,7,2,4] , A=[6,8,0,2] , C=1 , 8+4+1=13 , A->3 , C->1
[7,5] + [9,7,6,8,1,2,6,1,5,8,7,2] , A=[3,6,8,0,2] , C=1 , 5+2+1=8 , A->8 , C->0
[7] + [9,7,6,8,1,2,6,1,5,8,7] , A=[8,3,6,8,0,2] , C=0 , 7+7+0=14 , A->4 , C->1
[] + [9,7,6,8,1,2,6,1,5,8] , A=[4,8,3,6,8,0,2] , C=1 , 0+8+1=9 , A->9 , C->0
[] + [9,7,6,8,1,2,6,1,5] , A=[9,4,8,3,6,8,0,2] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,7,6,8,1,2,6,1] , A=[5,9,4,8,3,6,8,0,2] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9,7,6,8,1,2,6] , A=[1,5,9,4,8,3,6,8,0,2] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [9,7,6,8,1,2] , A=[6,1,5,9,4,8,3,6,8,0,2] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,7,6,8,1] , A=[2,6,1,5,9,4,8,3,6,8,0,2] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9,7,6,8] , A=[1,2,6,1,5,9,4,8,3,6,8,0,2] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9,7,6] , A=[8,1,2,6,1,5,9,4,8,3,6,8,0,2] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [9,7] , A=[6,8,1,2,6,1,5,9,4,8,3,6,8,0,2] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [9] , A=[7,6,8,1,2,6,1,5,9,4,8,3,6,8,0,2] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,7,6,8,1,2,6,1,5,9,4,8,3,6,8,0,2] C=0 , END
</scratch>
97681261594836802
| 97681261594836802 | 7 |
Input:
948063837+92450557170025672
Target:
| Input:
948063837+92450557170025672
Target:
[9,4,8,0,6,3,8,3,7] + [9,2,4,5,0,5,5,7,1,7,0,0,2,5,6,7,2] , A=[] , C=0 , 7+2+0=9 , A->9 , C->0
[9,4,8,0,6,3,8,3] + [9,2,4,5,0,5,5,7,1,7,0,0,2,5,6,7] , A=[9] , C=0 , 3+7+0=10 , A->0 , C->1
[9,4,8,0,6,3,8] + [9,2,4,5,0,5,5,7,1,7,0,0,2,5,6] , A=[0,9] , C=1 , 8+6+1=15 , A->5 , C->1
[9,4,8,0,6,3] + [9,2,4,5,0,5,5,7,1,7,0,0,2,5] , A=[5,0,9] , C=1 , 3+5+1=9 , A->9 , C->0
[9,4,8,0,6] + [9,2,4,5,0,5,5,7,1,7,0,0,2] , A=[9,5,0,9] , C=0 , 6+2+0=8 , A->8 , C->0
[9,4,8,0] + [9,2,4,5,0,5,5,7,1,7,0,0] , A=[8,9,5,0,9] , C=0 , 0+0+0=0 , A->0 , C->0
[9,4,8] + [9,2,4,5,0,5,5,7,1,7,0] , A=[0,8,9,5,0,9] , C=0 , 8+0+0=8 , A->8 , C->0
[9,4] + [9,2,4,5,0,5,5,7,1,7] , A=[8,0,8,9,5,0,9] , C=0 , 4+7+0=11 , A->1 , C->1
[9] + [9,2,4,5,0,5,5,7,1] , A=[1,8,0,8,9,5,0,9] , C=1 , 9+1+1=11 , A->1 , C->1
[] + [9,2,4,5,0,5,5,7] , A=[1,1,8,0,8,9,5,0,9] , C=1 , 0+7+1=8 , A->8 , C->0
[] + [9,2,4,5,0,5,5] , A=[8,1,1,8,0,8,9,5,0,9] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,2,4,5,0,5] , A=[5,8,1,1,8,0,8,9,5,0,9] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,2,4,5,0] , A=[5,5,8,1,1,8,0,8,9,5,0,9] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [9,2,4,5] , A=[0,5,5,8,1,1,8,0,8,9,5,0,9] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,2,4] , A=[5,0,5,5,8,1,1,8,0,8,9,5,0,9] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [9,2] , A=[4,5,0,5,5,8,1,1,8,0,8,9,5,0,9] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9] , A=[2,4,5,0,5,5,8,1,1,8,0,8,9,5,0,9] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,2,4,5,0,5,5,8,1,1,8,0,8,9,5,0,9] C=0 , END
</scratch>
92450558118089509
| 92450558118089509 | 9 |
Input:
1676+99256575959594006
Target:
| Input:
1676+99256575959594006
Target:
[1,6,7,6] + [9,9,2,5,6,5,7,5,9,5,9,5,9,4,0,0,6] , A=[] , C=0 , 6+6+0=12 , A->2 , C->1
[1,6,7] + [9,9,2,5,6,5,7,5,9,5,9,5,9,4,0,0] , A=[2] , C=1 , 7+0+1=8 , A->8 , C->0
[1,6] + [9,9,2,5,6,5,7,5,9,5,9,5,9,4,0] , A=[8,2] , C=0 , 6+0+0=6 , A->6 , C->0
[1] + [9,9,2,5,6,5,7,5,9,5,9,5,9,4] , A=[6,8,2] , C=0 , 1+4+0=5 , A->5 , C->0
[] + [9,9,2,5,6,5,7,5,9,5,9,5,9] , A=[5,6,8,2] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [9,9,2,5,6,5,7,5,9,5,9,5] , A=[9,5,6,8,2] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,9,2,5,6,5,7,5,9,5,9] , A=[5,9,5,6,8,2] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [9,9,2,5,6,5,7,5,9,5] , A=[9,5,9,5,6,8,2] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,9,2,5,6,5,7,5,9] , A=[5,9,5,9,5,6,8,2] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [9,9,2,5,6,5,7,5] , A=[9,5,9,5,9,5,6,8,2] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,9,2,5,6,5,7] , A=[5,9,5,9,5,9,5,6,8,2] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [9,9,2,5,6,5] , A=[7,5,9,5,9,5,9,5,6,8,2] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,9,2,5,6] , A=[5,7,5,9,5,9,5,9,5,6,8,2] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [9,9,2,5] , A=[6,5,7,5,9,5,9,5,9,5,6,8,2] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,9,2] , A=[5,6,5,7,5,9,5,9,5,9,5,6,8,2] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,9] , A=[2,5,6,5,7,5,9,5,9,5,9,5,6,8,2] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [9] , A=[9,2,5,6,5,7,5,9,5,9,5,9,5,6,8,2] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,9,2,5,6,5,7,5,9,5,9,5,9,5,6,8,2] C=0 , END
</scratch>
99256575959595682
| 99256575959595682 | 4 |
Input:
48411447930743173+19725
Target:
| Input:
48411447930743173+19725
Target:
[4,8,4,1,1,4,4,7,9,3,0,7,4,3,1,7,3] + [1,9,7,2,5] , A=[] , C=0 , 3+5+0=8 , A->8 , C->0
[4,8,4,1,1,4,4,7,9,3,0,7,4,3,1,7] + [1,9,7,2] , A=[8] , C=0 , 7+2+0=9 , A->9 , C->0
[4,8,4,1,1,4,4,7,9,3,0,7,4,3,1] + [1,9,7] , A=[9,8] , C=0 , 1+7+0=8 , A->8 , C->0
[4,8,4,1,1,4,4,7,9,3,0,7,4,3] + [1,9] , A=[8,9,8] , C=0 , 3+9+0=12 , A->2 , C->1
[4,8,4,1,1,4,4,7,9,3,0,7,4] + [1] , A=[2,8,9,8] , C=1 , 4+1+1=6 , A->6 , C->0
[4,8,4,1,1,4,4,7,9,3,0,7] + [] , A=[6,2,8,9,8] , C=0 , 7+0+0=7 , A->7 , C->0
[4,8,4,1,1,4,4,7,9,3,0] + [] , A=[7,6,2,8,9,8] , C=0 , 0+0+0=0 , A->0 , C->0
[4,8,4,1,1,4,4,7,9,3] + [] , A=[0,7,6,2,8,9,8] , C=0 , 3+0+0=3 , A->3 , C->0
[4,8,4,1,1,4,4,7,9] + [] , A=[3,0,7,6,2,8,9,8] , C=0 , 9+0+0=9 , A->9 , C->0
[4,8,4,1,1,4,4,7] + [] , A=[9,3,0,7,6,2,8,9,8] , C=0 , 7+0+0=7 , A->7 , C->0
[4,8,4,1,1,4,4] + [] , A=[7,9,3,0,7,6,2,8,9,8] , C=0 , 4+0+0=4 , A->4 , C->0
[4,8,4,1,1,4] + [] , A=[4,7,9,3,0,7,6,2,8,9,8] , C=0 , 4+0+0=4 , A->4 , C->0
[4,8,4,1,1] + [] , A=[4,4,7,9,3,0,7,6,2,8,9,8] , C=0 , 1+0+0=1 , A->1 , C->0
[4,8,4,1] + [] , A=[1,4,4,7,9,3,0,7,6,2,8,9,8] , C=0 , 1+0+0=1 , A->1 , C->0
[4,8,4] + [] , A=[1,1,4,4,7,9,3,0,7,6,2,8,9,8] , C=0 , 4+0+0=4 , A->4 , C->0
[4,8] + [] , A=[4,1,1,4,4,7,9,3,0,7,6,2,8,9,8] , C=0 , 8+0+0=8 , A->8 , C->0
[4] + [] , A=[8,4,1,1,4,4,7,9,3,0,7,6,2,8,9,8] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,8,4,1,1,4,4,7,9,3,0,7,6,2,8,9,8] C=0 , END
</scratch>
48411447930762898
| 48411447930762898 | 5 |
Input:
974+70309632317106403
Target:
| Input:
974+70309632317106403
Target:
[9,7,4] + [7,0,3,0,9,6,3,2,3,1,7,1,0,6,4,0,3] , A=[] , C=0 , 4+3+0=7 , A->7 , C->0
[9,7] + [7,0,3,0,9,6,3,2,3,1,7,1,0,6,4,0] , A=[7] , C=0 , 7+0+0=7 , A->7 , C->0
[9] + [7,0,3,0,9,6,3,2,3,1,7,1,0,6,4] , A=[7,7] , C=0 , 9+4+0=13 , A->3 , C->1
[] + [7,0,3,0,9,6,3,2,3,1,7,1,0,6] , A=[3,7,7] , C=1 , 0+6+1=7 , A->7 , C->0
[] + [7,0,3,0,9,6,3,2,3,1,7,1,0] , A=[7,3,7,7] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7,0,3,0,9,6,3,2,3,1,7,1] , A=[0,7,3,7,7] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [7,0,3,0,9,6,3,2,3,1,7] , A=[1,0,7,3,7,7] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [7,0,3,0,9,6,3,2,3,1] , A=[7,1,0,7,3,7,7] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [7,0,3,0,9,6,3,2,3] , A=[1,7,1,0,7,3,7,7] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [7,0,3,0,9,6,3,2] , A=[3,1,7,1,0,7,3,7,7] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [7,0,3,0,9,6,3] , A=[2,3,1,7,1,0,7,3,7,7] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [7,0,3,0,9,6] , A=[3,2,3,1,7,1,0,7,3,7,7] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [7,0,3,0,9] , A=[6,3,2,3,1,7,1,0,7,3,7,7] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [7,0,3,0] , A=[9,6,3,2,3,1,7,1,0,7,3,7,7] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7,0,3] , A=[0,9,6,3,2,3,1,7,1,0,7,3,7,7] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [7,0] , A=[3,0,9,6,3,2,3,1,7,1,0,7,3,7,7] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7] , A=[0,3,0,9,6,3,2,3,1,7,1,0,7,3,7,7] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,0,3,0,9,6,3,2,3,1,7,1,0,7,3,7,7] C=0 , END
</scratch>
70309632317107377
| 70309632317107377 | 3 |
Input:
32233902550594528+86419
Target:
| Input:
32233902550594528+86419
Target:
[3,2,2,3,3,9,0,2,5,5,0,5,9,4,5,2,8] + [8,6,4,1,9] , A=[] , C=0 , 8+9+0=17 , A->7 , C->1
[3,2,2,3,3,9,0,2,5,5,0,5,9,4,5,2] + [8,6,4,1] , A=[7] , C=1 , 2+1+1=4 , A->4 , C->0
[3,2,2,3,3,9,0,2,5,5,0,5,9,4,5] + [8,6,4] , A=[4,7] , C=0 , 5+4+0=9 , A->9 , C->0
[3,2,2,3,3,9,0,2,5,5,0,5,9,4] + [8,6] , A=[9,4,7] , C=0 , 4+6+0=10 , A->0 , C->1
[3,2,2,3,3,9,0,2,5,5,0,5,9] + [8] , A=[0,9,4,7] , C=1 , 9+8+1=18 , A->8 , C->1
[3,2,2,3,3,9,0,2,5,5,0,5] + [] , A=[8,0,9,4,7] , C=1 , 5+0+1=6 , A->6 , C->0
[3,2,2,3,3,9,0,2,5,5,0] + [] , A=[6,8,0,9,4,7] , C=0 , 0+0+0=0 , A->0 , C->0
[3,2,2,3,3,9,0,2,5,5] + [] , A=[0,6,8,0,9,4,7] , C=0 , 5+0+0=5 , A->5 , C->0
[3,2,2,3,3,9,0,2,5] + [] , A=[5,0,6,8,0,9,4,7] , C=0 , 5+0+0=5 , A->5 , C->0
[3,2,2,3,3,9,0,2] + [] , A=[5,5,0,6,8,0,9,4,7] , C=0 , 2+0+0=2 , A->2 , C->0
[3,2,2,3,3,9,0] + [] , A=[2,5,5,0,6,8,0,9,4,7] , C=0 , 0+0+0=0 , A->0 , C->0
[3,2,2,3,3,9] + [] , A=[0,2,5,5,0,6,8,0,9,4,7] , C=0 , 9+0+0=9 , A->9 , C->0
[3,2,2,3,3] + [] , A=[9,0,2,5,5,0,6,8,0,9,4,7] , C=0 , 3+0+0=3 , A->3 , C->0
[3,2,2,3] + [] , A=[3,9,0,2,5,5,0,6,8,0,9,4,7] , C=0 , 3+0+0=3 , A->3 , C->0
[3,2,2] + [] , A=[3,3,9,0,2,5,5,0,6,8,0,9,4,7] , C=0 , 2+0+0=2 , A->2 , C->0
[3,2] + [] , A=[2,3,3,9,0,2,5,5,0,6,8,0,9,4,7] , C=0 , 2+0+0=2 , A->2 , C->0
[3] + [] , A=[2,2,3,3,9,0,2,5,5,0,6,8,0,9,4,7] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,2,2,3,3,9,0,2,5,5,0,6,8,0,9,4,7] C=0 , END
</scratch>
32233902550680947
| 32233902550680947 | 5 |
Input:
26123494841642572+3944536986230704
Target:
| Input:
26123494841642572+3944536986230704
Target:
[2,6,1,2,3,4,9,4,8,4,1,6,4,2,5,7,2] + [3,9,4,4,5,3,6,9,8,6,2,3,0,7,0,4] , A=[] , C=0 , 2+4+0=6 , A->6 , C->0
[2,6,1,2,3,4,9,4,8,4,1,6,4,2,5,7] + [3,9,4,4,5,3,6,9,8,6,2,3,0,7,0] , A=[6] , C=0 , 7+0+0=7 , A->7 , C->0
[2,6,1,2,3,4,9,4,8,4,1,6,4,2,5] + [3,9,4,4,5,3,6,9,8,6,2,3,0,7] , A=[7,6] , C=0 , 5+7+0=12 , A->2 , C->1
[2,6,1,2,3,4,9,4,8,4,1,6,4,2] + [3,9,4,4,5,3,6,9,8,6,2,3,0] , A=[2,7,6] , C=1 , 2+0+1=3 , A->3 , C->0
[2,6,1,2,3,4,9,4,8,4,1,6,4] + [3,9,4,4,5,3,6,9,8,6,2,3] , A=[3,2,7,6] , C=0 , 4+3+0=7 , A->7 , C->0
[2,6,1,2,3,4,9,4,8,4,1,6] + [3,9,4,4,5,3,6,9,8,6,2] , A=[7,3,2,7,6] , C=0 , 6+2+0=8 , A->8 , C->0
[2,6,1,2,3,4,9,4,8,4,1] + [3,9,4,4,5,3,6,9,8,6] , A=[8,7,3,2,7,6] , C=0 , 1+6+0=7 , A->7 , C->0
[2,6,1,2,3,4,9,4,8,4] + [3,9,4,4,5,3,6,9,8] , A=[7,8,7,3,2,7,6] , C=0 , 4+8+0=12 , A->2 , C->1
[2,6,1,2,3,4,9,4,8] + [3,9,4,4,5,3,6,9] , A=[2,7,8,7,3,2,7,6] , C=1 , 8+9+1=18 , A->8 , C->1
[2,6,1,2,3,4,9,4] + [3,9,4,4,5,3,6] , A=[8,2,7,8,7,3,2,7,6] , C=1 , 4+6+1=11 , A->1 , C->1
[2,6,1,2,3,4,9] + [3,9,4,4,5,3] , A=[1,8,2,7,8,7,3,2,7,6] , C=1 , 9+3+1=13 , A->3 , C->1
[2,6,1,2,3,4] + [3,9,4,4,5] , A=[3,1,8,2,7,8,7,3,2,7,6] , C=1 , 4+5+1=10 , A->0 , C->1
[2,6,1,2,3] + [3,9,4,4] , A=[0,3,1,8,2,7,8,7,3,2,7,6] , C=1 , 3+4+1=8 , A->8 , C->0
[2,6,1,2] + [3,9,4] , A=[8,0,3,1,8,2,7,8,7,3,2,7,6] , C=0 , 2+4+0=6 , A->6 , C->0
[2,6,1] + [3,9] , A=[6,8,0,3,1,8,2,7,8,7,3,2,7,6] , C=0 , 1+9+0=10 , A->0 , C->1
[2,6] + [3] , A=[0,6,8,0,3,1,8,2,7,8,7,3,2,7,6] , C=1 , 6+3+1=10 , A->0 , C->1
[2] + [] , A=[0,0,6,8,0,3,1,8,2,7,8,7,3,2,7,6] , C=1 , 2+0+1=3 , A->3 , C->0
[] + [] , A=[3,0,0,6,8,0,3,1,8,2,7,8,7,3,2,7,6] C=0 , END
</scratch>
30068031827873276
| 30068031827873276 | 16 |
Input:
65715626868293785+2204466
Target:
| Input:
65715626868293785+2204466
Target:
[6,5,7,1,5,6,2,6,8,6,8,2,9,3,7,8,5] + [2,2,0,4,4,6,6] , A=[] , C=0 , 5+6+0=11 , A->1 , C->1
[6,5,7,1,5,6,2,6,8,6,8,2,9,3,7,8] + [2,2,0,4,4,6] , A=[1] , C=1 , 8+6+1=15 , A->5 , C->1
[6,5,7,1,5,6,2,6,8,6,8,2,9,3,7] + [2,2,0,4,4] , A=[5,1] , C=1 , 7+4+1=12 , A->2 , C->1
[6,5,7,1,5,6,2,6,8,6,8,2,9,3] + [2,2,0,4] , A=[2,5,1] , C=1 , 3+4+1=8 , A->8 , C->0
[6,5,7,1,5,6,2,6,8,6,8,2,9] + [2,2,0] , A=[8,2,5,1] , C=0 , 9+0+0=9 , A->9 , C->0
[6,5,7,1,5,6,2,6,8,6,8,2] + [2,2] , A=[9,8,2,5,1] , C=0 , 2+2+0=4 , A->4 , C->0
[6,5,7,1,5,6,2,6,8,6,8] + [2] , A=[4,9,8,2,5,1] , C=0 , 8+2+0=10 , A->0 , C->1
[6,5,7,1,5,6,2,6,8,6] + [] , A=[0,4,9,8,2,5,1] , C=1 , 6+0+1=7 , A->7 , C->0
[6,5,7,1,5,6,2,6,8] + [] , A=[7,0,4,9,8,2,5,1] , C=0 , 8+0+0=8 , A->8 , C->0
[6,5,7,1,5,6,2,6] + [] , A=[8,7,0,4,9,8,2,5,1] , C=0 , 6+0+0=6 , A->6 , C->0
[6,5,7,1,5,6,2] + [] , A=[6,8,7,0,4,9,8,2,5,1] , C=0 , 2+0+0=2 , A->2 , C->0
[6,5,7,1,5,6] + [] , A=[2,6,8,7,0,4,9,8,2,5,1] , C=0 , 6+0+0=6 , A->6 , C->0
[6,5,7,1,5] + [] , A=[6,2,6,8,7,0,4,9,8,2,5,1] , C=0 , 5+0+0=5 , A->5 , C->0
[6,5,7,1] + [] , A=[5,6,2,6,8,7,0,4,9,8,2,5,1] , C=0 , 1+0+0=1 , A->1 , C->0
[6,5,7] + [] , A=[1,5,6,2,6,8,7,0,4,9,8,2,5,1] , C=0 , 7+0+0=7 , A->7 , C->0
[6,5] + [] , A=[7,1,5,6,2,6,8,7,0,4,9,8,2,5,1] , C=0 , 5+0+0=5 , A->5 , C->0
[6] + [] , A=[5,7,1,5,6,2,6,8,7,0,4,9,8,2,5,1] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,5,7,1,5,6,2,6,8,7,0,4,9,8,2,5,1] C=0 , END
</scratch>
65715626870498251
| 65715626870498251 | 7 |
Input:
58023122131389516+2
Target:
| Input:
58023122131389516+2
Target:
[5,8,0,2,3,1,2,2,1,3,1,3,8,9,5,1,6] + [2] , A=[] , C=0 , 6+2+0=8 , A->8 , C->0
[5,8,0,2,3,1,2,2,1,3,1,3,8,9,5,1] + [] , A=[8] , C=0 , 1+0+0=1 , A->1 , C->0
[5,8,0,2,3,1,2,2,1,3,1,3,8,9,5] + [] , A=[1,8] , C=0 , 5+0+0=5 , A->5 , C->0
[5,8,0,2,3,1,2,2,1,3,1,3,8,9] + [] , A=[5,1,8] , C=0 , 9+0+0=9 , A->9 , C->0
[5,8,0,2,3,1,2,2,1,3,1,3,8] + [] , A=[9,5,1,8] , C=0 , 8+0+0=8 , A->8 , C->0
[5,8,0,2,3,1,2,2,1,3,1,3] + [] , A=[8,9,5,1,8] , C=0 , 3+0+0=3 , A->3 , C->0
[5,8,0,2,3,1,2,2,1,3,1] + [] , A=[3,8,9,5,1,8] , C=0 , 1+0+0=1 , A->1 , C->0
[5,8,0,2,3,1,2,2,1,3] + [] , A=[1,3,8,9,5,1,8] , C=0 , 3+0+0=3 , A->3 , C->0
[5,8,0,2,3,1,2,2,1] + [] , A=[3,1,3,8,9,5,1,8] , C=0 , 1+0+0=1 , A->1 , C->0
[5,8,0,2,3,1,2,2] + [] , A=[1,3,1,3,8,9,5,1,8] , C=0 , 2+0+0=2 , A->2 , C->0
[5,8,0,2,3,1,2] + [] , A=[2,1,3,1,3,8,9,5,1,8] , C=0 , 2+0+0=2 , A->2 , C->0
[5,8,0,2,3,1] + [] , A=[2,2,1,3,1,3,8,9,5,1,8] , C=0 , 1+0+0=1 , A->1 , C->0
[5,8,0,2,3] + [] , A=[1,2,2,1,3,1,3,8,9,5,1,8] , C=0 , 3+0+0=3 , A->3 , C->0
[5,8,0,2] + [] , A=[3,1,2,2,1,3,1,3,8,9,5,1,8] , C=0 , 2+0+0=2 , A->2 , C->0
[5,8,0] + [] , A=[2,3,1,2,2,1,3,1,3,8,9,5,1,8] , C=0 , 0+0+0=0 , A->0 , C->0
[5,8] + [] , A=[0,2,3,1,2,2,1,3,1,3,8,9,5,1,8] , C=0 , 8+0+0=8 , A->8 , C->0
[5] + [] , A=[8,0,2,3,1,2,2,1,3,1,3,8,9,5,1,8] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,8,0,2,3,1,2,2,1,3,1,3,8,9,5,1,8] C=0 , END
</scratch>
58023122131389518
| 58023122131389518 | 1 |
Input:
9852119221696618+59845648540265021
Target:
| Input:
9852119221696618+59845648540265021
Target:
[9,8,5,2,1,1,9,2,2,1,6,9,6,6,1,8] + [5,9,8,4,5,6,4,8,5,4,0,2,6,5,0,2,1] , A=[] , C=0 , 8+1+0=9 , A->9 , C->0
[9,8,5,2,1,1,9,2,2,1,6,9,6,6,1] + [5,9,8,4,5,6,4,8,5,4,0,2,6,5,0,2] , A=[9] , C=0 , 1+2+0=3 , A->3 , C->0
[9,8,5,2,1,1,9,2,2,1,6,9,6,6] + [5,9,8,4,5,6,4,8,5,4,0,2,6,5,0] , A=[3,9] , C=0 , 6+0+0=6 , A->6 , C->0
[9,8,5,2,1,1,9,2,2,1,6,9,6] + [5,9,8,4,5,6,4,8,5,4,0,2,6,5] , A=[6,3,9] , C=0 , 6+5+0=11 , A->1 , C->1
[9,8,5,2,1,1,9,2,2,1,6,9] + [5,9,8,4,5,6,4,8,5,4,0,2,6] , A=[1,6,3,9] , C=1 , 9+6+1=16 , A->6 , C->1
[9,8,5,2,1,1,9,2,2,1,6] + [5,9,8,4,5,6,4,8,5,4,0,2] , A=[6,1,6,3,9] , C=1 , 6+2+1=9 , A->9 , C->0
[9,8,5,2,1,1,9,2,2,1] + [5,9,8,4,5,6,4,8,5,4,0] , A=[9,6,1,6,3,9] , C=0 , 1+0+0=1 , A->1 , C->0
[9,8,5,2,1,1,9,2,2] + [5,9,8,4,5,6,4,8,5,4] , A=[1,9,6,1,6,3,9] , C=0 , 2+4+0=6 , A->6 , C->0
[9,8,5,2,1,1,9,2] + [5,9,8,4,5,6,4,8,5] , A=[6,1,9,6,1,6,3,9] , C=0 , 2+5+0=7 , A->7 , C->0
[9,8,5,2,1,1,9] + [5,9,8,4,5,6,4,8] , A=[7,6,1,9,6,1,6,3,9] , C=0 , 9+8+0=17 , A->7 , C->1
[9,8,5,2,1,1] + [5,9,8,4,5,6,4] , A=[7,7,6,1,9,6,1,6,3,9] , C=1 , 1+4+1=6 , A->6 , C->0
[9,8,5,2,1] + [5,9,8,4,5,6] , A=[6,7,7,6,1,9,6,1,6,3,9] , C=0 , 1+6+0=7 , A->7 , C->0
[9,8,5,2] + [5,9,8,4,5] , A=[7,6,7,7,6,1,9,6,1,6,3,9] , C=0 , 2+5+0=7 , A->7 , C->0
[9,8,5] + [5,9,8,4] , A=[7,7,6,7,7,6,1,9,6,1,6,3,9] , C=0 , 5+4+0=9 , A->9 , C->0
[9,8] + [5,9,8] , A=[9,7,7,6,7,7,6,1,9,6,1,6,3,9] , C=0 , 8+8+0=16 , A->6 , C->1
[9] + [5,9] , A=[6,9,7,7,6,7,7,6,1,9,6,1,6,3,9] , C=1 , 9+9+1=19 , A->9 , C->1
[] + [5] , A=[9,6,9,7,7,6,7,7,6,1,9,6,1,6,3,9] , C=1 , 0+5+1=6 , A->6 , C->0
[] + [] , A=[6,9,6,9,7,7,6,7,7,6,1,9,6,1,6,3,9] C=0 , END
</scratch>
69697767761961639
| 69697767761961639 | 16 |
Input:
47486988343875147+8987074286081209
Target:
| Input:
47486988343875147+8987074286081209
Target:
[4,7,4,8,6,9,8,8,3,4,3,8,7,5,1,4,7] + [8,9,8,7,0,7,4,2,8,6,0,8,1,2,0,9] , A=[] , C=0 , 7+9+0=16 , A->6 , C->1
[4,7,4,8,6,9,8,8,3,4,3,8,7,5,1,4] + [8,9,8,7,0,7,4,2,8,6,0,8,1,2,0] , A=[6] , C=1 , 4+0+1=5 , A->5 , C->0
[4,7,4,8,6,9,8,8,3,4,3,8,7,5,1] + [8,9,8,7,0,7,4,2,8,6,0,8,1,2] , A=[5,6] , C=0 , 1+2+0=3 , A->3 , C->0
[4,7,4,8,6,9,8,8,3,4,3,8,7,5] + [8,9,8,7,0,7,4,2,8,6,0,8,1] , A=[3,5,6] , C=0 , 5+1+0=6 , A->6 , C->0
[4,7,4,8,6,9,8,8,3,4,3,8,7] + [8,9,8,7,0,7,4,2,8,6,0,8] , A=[6,3,5,6] , C=0 , 7+8+0=15 , A->5 , C->1
[4,7,4,8,6,9,8,8,3,4,3,8] + [8,9,8,7,0,7,4,2,8,6,0] , A=[5,6,3,5,6] , C=1 , 8+0+1=9 , A->9 , C->0
[4,7,4,8,6,9,8,8,3,4,3] + [8,9,8,7,0,7,4,2,8,6] , A=[9,5,6,3,5,6] , C=0 , 3+6+0=9 , A->9 , C->0
[4,7,4,8,6,9,8,8,3,4] + [8,9,8,7,0,7,4,2,8] , A=[9,9,5,6,3,5,6] , C=0 , 4+8+0=12 , A->2 , C->1
[4,7,4,8,6,9,8,8,3] + [8,9,8,7,0,7,4,2] , A=[2,9,9,5,6,3,5,6] , C=1 , 3+2+1=6 , A->6 , C->0
[4,7,4,8,6,9,8,8] + [8,9,8,7,0,7,4] , A=[6,2,9,9,5,6,3,5,6] , C=0 , 8+4+0=12 , A->2 , C->1
[4,7,4,8,6,9,8] + [8,9,8,7,0,7] , A=[2,6,2,9,9,5,6,3,5,6] , C=1 , 8+7+1=16 , A->6 , C->1
[4,7,4,8,6,9] + [8,9,8,7,0] , A=[6,2,6,2,9,9,5,6,3,5,6] , C=1 , 9+0+1=10 , A->0 , C->1
[4,7,4,8,6] + [8,9,8,7] , A=[0,6,2,6,2,9,9,5,6,3,5,6] , C=1 , 6+7+1=14 , A->4 , C->1
[4,7,4,8] + [8,9,8] , A=[4,0,6,2,6,2,9,9,5,6,3,5,6] , C=1 , 8+8+1=17 , A->7 , C->1
[4,7,4] + [8,9] , A=[7,4,0,6,2,6,2,9,9,5,6,3,5,6] , C=1 , 4+9+1=14 , A->4 , C->1
[4,7] + [8] , A=[4,7,4,0,6,2,6,2,9,9,5,6,3,5,6] , C=1 , 7+8+1=16 , A->6 , C->1
[4] + [] , A=[6,4,7,4,0,6,2,6,2,9,9,5,6,3,5,6] , C=1 , 4+0+1=5 , A->5 , C->0
[] + [] , A=[5,6,4,7,4,0,6,2,6,2,9,9,5,6,3,5,6] C=0 , END
</scratch>
56474062629956356
| 56474062629956356 | 16 |
Input:
8748+28747521906327719
Target:
| Input:
8748+28747521906327719
Target:
[8,7,4,8] + [2,8,7,4,7,5,2,1,9,0,6,3,2,7,7,1,9] , A=[] , C=0 , 8+9+0=17 , A->7 , C->1
[8,7,4] + [2,8,7,4,7,5,2,1,9,0,6,3,2,7,7,1] , A=[7] , C=1 , 4+1+1=6 , A->6 , C->0
[8,7] + [2,8,7,4,7,5,2,1,9,0,6,3,2,7,7] , A=[6,7] , C=0 , 7+7+0=14 , A->4 , C->1
[8] + [2,8,7,4,7,5,2,1,9,0,6,3,2,7] , A=[4,6,7] , C=1 , 8+7+1=16 , A->6 , C->1
[] + [2,8,7,4,7,5,2,1,9,0,6,3,2] , A=[6,4,6,7] , C=1 , 0+2+1=3 , A->3 , C->0
[] + [2,8,7,4,7,5,2,1,9,0,6,3] , A=[3,6,4,6,7] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [2,8,7,4,7,5,2,1,9,0,6] , A=[3,3,6,4,6,7] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [2,8,7,4,7,5,2,1,9,0] , A=[6,3,3,6,4,6,7] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [2,8,7,4,7,5,2,1,9] , A=[0,6,3,3,6,4,6,7] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [2,8,7,4,7,5,2,1] , A=[9,0,6,3,3,6,4,6,7] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [2,8,7,4,7,5,2] , A=[1,9,0,6,3,3,6,4,6,7] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [2,8,7,4,7,5] , A=[2,1,9,0,6,3,3,6,4,6,7] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [2,8,7,4,7] , A=[5,2,1,9,0,6,3,3,6,4,6,7] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2,8,7,4] , A=[7,5,2,1,9,0,6,3,3,6,4,6,7] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [2,8,7] , A=[4,7,5,2,1,9,0,6,3,3,6,4,6,7] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2,8] , A=[7,4,7,5,2,1,9,0,6,3,3,6,4,6,7] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [2] , A=[8,7,4,7,5,2,1,9,0,6,3,3,6,4,6,7] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,8,7,4,7,5,2,1,9,0,6,3,3,6,4,6,7] C=0 , END
</scratch>
28747521906336467
| 28747521906336467 | 4 |
Input:
68304816733084943+5
Target:
| Input:
68304816733084943+5
Target:
[6,8,3,0,4,8,1,6,7,3,3,0,8,4,9,4,3] + [5] , A=[] , C=0 , 3+5+0=8 , A->8 , C->0
[6,8,3,0,4,8,1,6,7,3,3,0,8,4,9,4] + [] , A=[8] , C=0 , 4+0+0=4 , A->4 , C->0
[6,8,3,0,4,8,1,6,7,3,3,0,8,4,9] + [] , A=[4,8] , C=0 , 9+0+0=9 , A->9 , C->0
[6,8,3,0,4,8,1,6,7,3,3,0,8,4] + [] , A=[9,4,8] , C=0 , 4+0+0=4 , A->4 , C->0
[6,8,3,0,4,8,1,6,7,3,3,0,8] + [] , A=[4,9,4,8] , C=0 , 8+0+0=8 , A->8 , C->0
[6,8,3,0,4,8,1,6,7,3,3,0] + [] , A=[8,4,9,4,8] , C=0 , 0+0+0=0 , A->0 , C->0
[6,8,3,0,4,8,1,6,7,3,3] + [] , A=[0,8,4,9,4,8] , C=0 , 3+0+0=3 , A->3 , C->0
[6,8,3,0,4,8,1,6,7,3] + [] , A=[3,0,8,4,9,4,8] , C=0 , 3+0+0=3 , A->3 , C->0
[6,8,3,0,4,8,1,6,7] + [] , A=[3,3,0,8,4,9,4,8] , C=0 , 7+0+0=7 , A->7 , C->0
[6,8,3,0,4,8,1,6] + [] , A=[7,3,3,0,8,4,9,4,8] , C=0 , 6+0+0=6 , A->6 , C->0
[6,8,3,0,4,8,1] + [] , A=[6,7,3,3,0,8,4,9,4,8] , C=0 , 1+0+0=1 , A->1 , C->0
[6,8,3,0,4,8] + [] , A=[1,6,7,3,3,0,8,4,9,4,8] , C=0 , 8+0+0=8 , A->8 , C->0
[6,8,3,0,4] + [] , A=[8,1,6,7,3,3,0,8,4,9,4,8] , C=0 , 4+0+0=4 , A->4 , C->0
[6,8,3,0] + [] , A=[4,8,1,6,7,3,3,0,8,4,9,4,8] , C=0 , 0+0+0=0 , A->0 , C->0
[6,8,3] + [] , A=[0,4,8,1,6,7,3,3,0,8,4,9,4,8] , C=0 , 3+0+0=3 , A->3 , C->0
[6,8] + [] , A=[3,0,4,8,1,6,7,3,3,0,8,4,9,4,8] , C=0 , 8+0+0=8 , A->8 , C->0
[6] + [] , A=[8,3,0,4,8,1,6,7,3,3,0,8,4,9,4,8] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,8,3,0,4,8,1,6,7,3,3,0,8,4,9,4,8] C=0 , END
</scratch>
68304816733084948
| 68304816733084948 | 1 |
Input:
54049807637859384+84212
Target:
| Input:
54049807637859384+84212
Target:
[5,4,0,4,9,8,0,7,6,3,7,8,5,9,3,8,4] + [8,4,2,1,2] , A=[] , C=0 , 4+2+0=6 , A->6 , C->0
[5,4,0,4,9,8,0,7,6,3,7,8,5,9,3,8] + [8,4,2,1] , A=[6] , C=0 , 8+1+0=9 , A->9 , C->0
[5,4,0,4,9,8,0,7,6,3,7,8,5,9,3] + [8,4,2] , A=[9,6] , C=0 , 3+2+0=5 , A->5 , C->0
[5,4,0,4,9,8,0,7,6,3,7,8,5,9] + [8,4] , A=[5,9,6] , C=0 , 9+4+0=13 , A->3 , C->1
[5,4,0,4,9,8,0,7,6,3,7,8,5] + [8] , A=[3,5,9,6] , C=1 , 5+8+1=14 , A->4 , C->1
[5,4,0,4,9,8,0,7,6,3,7,8] + [] , A=[4,3,5,9,6] , C=1 , 8+0+1=9 , A->9 , C->0
[5,4,0,4,9,8,0,7,6,3,7] + [] , A=[9,4,3,5,9,6] , C=0 , 7+0+0=7 , A->7 , C->0
[5,4,0,4,9,8,0,7,6,3] + [] , A=[7,9,4,3,5,9,6] , C=0 , 3+0+0=3 , A->3 , C->0
[5,4,0,4,9,8,0,7,6] + [] , A=[3,7,9,4,3,5,9,6] , C=0 , 6+0+0=6 , A->6 , C->0
[5,4,0,4,9,8,0,7] + [] , A=[6,3,7,9,4,3,5,9,6] , C=0 , 7+0+0=7 , A->7 , C->0
[5,4,0,4,9,8,0] + [] , A=[7,6,3,7,9,4,3,5,9,6] , C=0 , 0+0+0=0 , A->0 , C->0
[5,4,0,4,9,8] + [] , A=[0,7,6,3,7,9,4,3,5,9,6] , C=0 , 8+0+0=8 , A->8 , C->0
[5,4,0,4,9] + [] , A=[8,0,7,6,3,7,9,4,3,5,9,6] , C=0 , 9+0+0=9 , A->9 , C->0
[5,4,0,4] + [] , A=[9,8,0,7,6,3,7,9,4,3,5,9,6] , C=0 , 4+0+0=4 , A->4 , C->0
[5,4,0] + [] , A=[4,9,8,0,7,6,3,7,9,4,3,5,9,6] , C=0 , 0+0+0=0 , A->0 , C->0
[5,4] + [] , A=[0,4,9,8,0,7,6,3,7,9,4,3,5,9,6] , C=0 , 4+0+0=4 , A->4 , C->0
[5] + [] , A=[4,0,4,9,8,0,7,6,3,7,9,4,3,5,9,6] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,4,0,4,9,8,0,7,6,3,7,9,4,3,5,9,6] C=0 , END
</scratch>
54049807637943596
| 54049807637943596 | 5 |
Input:
60662066947686363+797744
Target:
| Input:
60662066947686363+797744
Target:
[6,0,6,6,2,0,6,6,9,4,7,6,8,6,3,6,3] + [7,9,7,7,4,4] , A=[] , C=0 , 3+4+0=7 , A->7 , C->0
[6,0,6,6,2,0,6,6,9,4,7,6,8,6,3,6] + [7,9,7,7,4] , A=[7] , C=0 , 6+4+0=10 , A->0 , C->1
[6,0,6,6,2,0,6,6,9,4,7,6,8,6,3] + [7,9,7,7] , A=[0,7] , C=1 , 3+7+1=11 , A->1 , C->1
[6,0,6,6,2,0,6,6,9,4,7,6,8,6] + [7,9,7] , A=[1,0,7] , C=1 , 6+7+1=14 , A->4 , C->1
[6,0,6,6,2,0,6,6,9,4,7,6,8] + [7,9] , A=[4,1,0,7] , C=1 , 8+9+1=18 , A->8 , C->1
[6,0,6,6,2,0,6,6,9,4,7,6] + [7] , A=[8,4,1,0,7] , C=1 , 6+7+1=14 , A->4 , C->1
[6,0,6,6,2,0,6,6,9,4,7] + [] , A=[4,8,4,1,0,7] , C=1 , 7+0+1=8 , A->8 , C->0
[6,0,6,6,2,0,6,6,9,4] + [] , A=[8,4,8,4,1,0,7] , C=0 , 4+0+0=4 , A->4 , C->0
[6,0,6,6,2,0,6,6,9] + [] , A=[4,8,4,8,4,1,0,7] , C=0 , 9+0+0=9 , A->9 , C->0
[6,0,6,6,2,0,6,6] + [] , A=[9,4,8,4,8,4,1,0,7] , C=0 , 6+0+0=6 , A->6 , C->0
[6,0,6,6,2,0,6] + [] , A=[6,9,4,8,4,8,4,1,0,7] , C=0 , 6+0+0=6 , A->6 , C->0
[6,0,6,6,2,0] + [] , A=[6,6,9,4,8,4,8,4,1,0,7] , C=0 , 0+0+0=0 , A->0 , C->0
[6,0,6,6,2] + [] , A=[0,6,6,9,4,8,4,8,4,1,0,7] , C=0 , 2+0+0=2 , A->2 , C->0
[6,0,6,6] + [] , A=[2,0,6,6,9,4,8,4,8,4,1,0,7] , C=0 , 6+0+0=6 , A->6 , C->0
[6,0,6] + [] , A=[6,2,0,6,6,9,4,8,4,8,4,1,0,7] , C=0 , 6+0+0=6 , A->6 , C->0
[6,0] + [] , A=[6,6,2,0,6,6,9,4,8,4,8,4,1,0,7] , C=0 , 0+0+0=0 , A->0 , C->0
[6] + [] , A=[0,6,6,2,0,6,6,9,4,8,4,8,4,1,0,7] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,0,6,6,2,0,6,6,9,4,8,4,8,4,1,0,7] C=0 , END
</scratch>
60662066948484107
| 60662066948484107 | 6 |
Input:
232112736478760+41098931853936891
Target:
| Input:
232112736478760+41098931853936891
Target:
[2,3,2,1,1,2,7,3,6,4,7,8,7,6,0] + [4,1,0,9,8,9,3,1,8,5,3,9,3,6,8,9,1] , A=[] , C=0 , 0+1+0=1 , A->1 , C->0
[2,3,2,1,1,2,7,3,6,4,7,8,7,6] + [4,1,0,9,8,9,3,1,8,5,3,9,3,6,8,9] , A=[1] , C=0 , 6+9+0=15 , A->5 , C->1
[2,3,2,1,1,2,7,3,6,4,7,8,7] + [4,1,0,9,8,9,3,1,8,5,3,9,3,6,8] , A=[5,1] , C=1 , 7+8+1=16 , A->6 , C->1
[2,3,2,1,1,2,7,3,6,4,7,8] + [4,1,0,9,8,9,3,1,8,5,3,9,3,6] , A=[6,5,1] , C=1 , 8+6+1=15 , A->5 , C->1
[2,3,2,1,1,2,7,3,6,4,7] + [4,1,0,9,8,9,3,1,8,5,3,9,3] , A=[5,6,5,1] , C=1 , 7+3+1=11 , A->1 , C->1
[2,3,2,1,1,2,7,3,6,4] + [4,1,0,9,8,9,3,1,8,5,3,9] , A=[1,5,6,5,1] , C=1 , 4+9+1=14 , A->4 , C->1
[2,3,2,1,1,2,7,3,6] + [4,1,0,9,8,9,3,1,8,5,3] , A=[4,1,5,6,5,1] , C=1 , 6+3+1=10 , A->0 , C->1
[2,3,2,1,1,2,7,3] + [4,1,0,9,8,9,3,1,8,5] , A=[0,4,1,5,6,5,1] , C=1 , 3+5+1=9 , A->9 , C->0
[2,3,2,1,1,2,7] + [4,1,0,9,8,9,3,1,8] , A=[9,0,4,1,5,6,5,1] , C=0 , 7+8+0=15 , A->5 , C->1
[2,3,2,1,1,2] + [4,1,0,9,8,9,3,1] , A=[5,9,0,4,1,5,6,5,1] , C=1 , 2+1+1=4 , A->4 , C->0
[2,3,2,1,1] + [4,1,0,9,8,9,3] , A=[4,5,9,0,4,1,5,6,5,1] , C=0 , 1+3+0=4 , A->4 , C->0
[2,3,2,1] + [4,1,0,9,8,9] , A=[4,4,5,9,0,4,1,5,6,5,1] , C=0 , 1+9+0=10 , A->0 , C->1
[2,3,2] + [4,1,0,9,8] , A=[0,4,4,5,9,0,4,1,5,6,5,1] , C=1 , 2+8+1=11 , A->1 , C->1
[2,3] + [4,1,0,9] , A=[1,0,4,4,5,9,0,4,1,5,6,5,1] , C=1 , 3+9+1=13 , A->3 , C->1
[2] + [4,1,0] , A=[3,1,0,4,4,5,9,0,4,1,5,6,5,1] , C=1 , 2+0+1=3 , A->3 , C->0
[] + [4,1] , A=[3,3,1,0,4,4,5,9,0,4,1,5,6,5,1] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [4] , A=[1,3,3,1,0,4,4,5,9,0,4,1,5,6,5,1] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,1,3,3,1,0,4,4,5,9,0,4,1,5,6,5,1] C=0 , END
</scratch>
41331044590415651
| 41331044590415651 | 15 |
Input:
38324001757616327+13202
Target:
| Input:
38324001757616327+13202
Target:
[3,8,3,2,4,0,0,1,7,5,7,6,1,6,3,2,7] + [1,3,2,0,2] , A=[] , C=0 , 7+2+0=9 , A->9 , C->0
[3,8,3,2,4,0,0,1,7,5,7,6,1,6,3,2] + [1,3,2,0] , A=[9] , C=0 , 2+0+0=2 , A->2 , C->0
[3,8,3,2,4,0,0,1,7,5,7,6,1,6,3] + [1,3,2] , A=[2,9] , C=0 , 3+2+0=5 , A->5 , C->0
[3,8,3,2,4,0,0,1,7,5,7,6,1,6] + [1,3] , A=[5,2,9] , C=0 , 6+3+0=9 , A->9 , C->0
[3,8,3,2,4,0,0,1,7,5,7,6,1] + [1] , A=[9,5,2,9] , C=0 , 1+1+0=2 , A->2 , C->0
[3,8,3,2,4,0,0,1,7,5,7,6] + [] , A=[2,9,5,2,9] , C=0 , 6+0+0=6 , A->6 , C->0
[3,8,3,2,4,0,0,1,7,5,7] + [] , A=[6,2,9,5,2,9] , C=0 , 7+0+0=7 , A->7 , C->0
[3,8,3,2,4,0,0,1,7,5] + [] , A=[7,6,2,9,5,2,9] , C=0 , 5+0+0=5 , A->5 , C->0
[3,8,3,2,4,0,0,1,7] + [] , A=[5,7,6,2,9,5,2,9] , C=0 , 7+0+0=7 , A->7 , C->0
[3,8,3,2,4,0,0,1] + [] , A=[7,5,7,6,2,9,5,2,9] , C=0 , 1+0+0=1 , A->1 , C->0
[3,8,3,2,4,0,0] + [] , A=[1,7,5,7,6,2,9,5,2,9] , C=0 , 0+0+0=0 , A->0 , C->0
[3,8,3,2,4,0] + [] , A=[0,1,7,5,7,6,2,9,5,2,9] , C=0 , 0+0+0=0 , A->0 , C->0
[3,8,3,2,4] + [] , A=[0,0,1,7,5,7,6,2,9,5,2,9] , C=0 , 4+0+0=4 , A->4 , C->0
[3,8,3,2] + [] , A=[4,0,0,1,7,5,7,6,2,9,5,2,9] , C=0 , 2+0+0=2 , A->2 , C->0
[3,8,3] + [] , A=[2,4,0,0,1,7,5,7,6,2,9,5,2,9] , C=0 , 3+0+0=3 , A->3 , C->0
[3,8] + [] , A=[3,2,4,0,0,1,7,5,7,6,2,9,5,2,9] , C=0 , 8+0+0=8 , A->8 , C->0
[3] + [] , A=[8,3,2,4,0,0,1,7,5,7,6,2,9,5,2,9] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,8,3,2,4,0,0,1,7,5,7,6,2,9,5,2,9] C=0 , END
</scratch>
38324001757629529
| 38324001757629529 | 5 |
Input:
5463053727283+70345036754885077
Target:
| Input:
5463053727283+70345036754885077
Target:
[5,4,6,3,0,5,3,7,2,7,2,8,3] + [7,0,3,4,5,0,3,6,7,5,4,8,8,5,0,7,7] , A=[] , C=0 , 3+7+0=10 , A->0 , C->1
[5,4,6,3,0,5,3,7,2,7,2,8] + [7,0,3,4,5,0,3,6,7,5,4,8,8,5,0,7] , A=[0] , C=1 , 8+7+1=16 , A->6 , C->1
[5,4,6,3,0,5,3,7,2,7,2] + [7,0,3,4,5,0,3,6,7,5,4,8,8,5,0] , A=[6,0] , C=1 , 2+0+1=3 , A->3 , C->0
[5,4,6,3,0,5,3,7,2,7] + [7,0,3,4,5,0,3,6,7,5,4,8,8,5] , A=[3,6,0] , C=0 , 7+5+0=12 , A->2 , C->1
[5,4,6,3,0,5,3,7,2] + [7,0,3,4,5,0,3,6,7,5,4,8,8] , A=[2,3,6,0] , C=1 , 2+8+1=11 , A->1 , C->1
[5,4,6,3,0,5,3,7] + [7,0,3,4,5,0,3,6,7,5,4,8] , A=[1,2,3,6,0] , C=1 , 7+8+1=16 , A->6 , C->1
[5,4,6,3,0,5,3] + [7,0,3,4,5,0,3,6,7,5,4] , A=[6,1,2,3,6,0] , C=1 , 3+4+1=8 , A->8 , C->0
[5,4,6,3,0,5] + [7,0,3,4,5,0,3,6,7,5] , A=[8,6,1,2,3,6,0] , C=0 , 5+5+0=10 , A->0 , C->1
[5,4,6,3,0] + [7,0,3,4,5,0,3,6,7] , A=[0,8,6,1,2,3,6,0] , C=1 , 0+7+1=8 , A->8 , C->0
[5,4,6,3] + [7,0,3,4,5,0,3,6] , A=[8,0,8,6,1,2,3,6,0] , C=0 , 3+6+0=9 , A->9 , C->0
[5,4,6] + [7,0,3,4,5,0,3] , A=[9,8,0,8,6,1,2,3,6,0] , C=0 , 6+3+0=9 , A->9 , C->0
[5,4] + [7,0,3,4,5,0] , A=[9,9,8,0,8,6,1,2,3,6,0] , C=0 , 4+0+0=4 , A->4 , C->0
[5] + [7,0,3,4,5] , A=[4,9,9,8,0,8,6,1,2,3,6,0] , C=0 , 5+5+0=10 , A->0 , C->1
[] + [7,0,3,4] , A=[0,4,9,9,8,0,8,6,1,2,3,6,0] , C=1 , 0+4+1=5 , A->5 , C->0
[] + [7,0,3] , A=[5,0,4,9,9,8,0,8,6,1,2,3,6,0] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [7,0] , A=[3,5,0,4,9,9,8,0,8,6,1,2,3,6,0] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7] , A=[0,3,5,0,4,9,9,8,0,8,6,1,2,3,6,0] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,0,3,5,0,4,9,9,8,0,8,6,1,2,3,6,0] C=0 , END
</scratch>
70350499808612360
| 70350499808612360 | 13 |
Input:
1752432935734562+54058696108145731
Target:
| Input:
1752432935734562+54058696108145731
Target:
[1,7,5,2,4,3,2,9,3,5,7,3,4,5,6,2] + [5,4,0,5,8,6,9,6,1,0,8,1,4,5,7,3,1] , A=[] , C=0 , 2+1+0=3 , A->3 , C->0
[1,7,5,2,4,3,2,9,3,5,7,3,4,5,6] + [5,4,0,5,8,6,9,6,1,0,8,1,4,5,7,3] , A=[3] , C=0 , 6+3+0=9 , A->9 , C->0
[1,7,5,2,4,3,2,9,3,5,7,3,4,5] + [5,4,0,5,8,6,9,6,1,0,8,1,4,5,7] , A=[9,3] , C=0 , 5+7+0=12 , A->2 , C->1
[1,7,5,2,4,3,2,9,3,5,7,3,4] + [5,4,0,5,8,6,9,6,1,0,8,1,4,5] , A=[2,9,3] , C=1 , 4+5+1=10 , A->0 , C->1
[1,7,5,2,4,3,2,9,3,5,7,3] + [5,4,0,5,8,6,9,6,1,0,8,1,4] , A=[0,2,9,3] , C=1 , 3+4+1=8 , A->8 , C->0
[1,7,5,2,4,3,2,9,3,5,7] + [5,4,0,5,8,6,9,6,1,0,8,1] , A=[8,0,2,9,3] , C=0 , 7+1+0=8 , A->8 , C->0
[1,7,5,2,4,3,2,9,3,5] + [5,4,0,5,8,6,9,6,1,0,8] , A=[8,8,0,2,9,3] , C=0 , 5+8+0=13 , A->3 , C->1
[1,7,5,2,4,3,2,9,3] + [5,4,0,5,8,6,9,6,1,0] , A=[3,8,8,0,2,9,3] , C=1 , 3+0+1=4 , A->4 , C->0
[1,7,5,2,4,3,2,9] + [5,4,0,5,8,6,9,6,1] , A=[4,3,8,8,0,2,9,3] , C=0 , 9+1+0=10 , A->0 , C->1
[1,7,5,2,4,3,2] + [5,4,0,5,8,6,9,6] , A=[0,4,3,8,8,0,2,9,3] , C=1 , 2+6+1=9 , A->9 , C->0
[1,7,5,2,4,3] + [5,4,0,5,8,6,9] , A=[9,0,4,3,8,8,0,2,9,3] , C=0 , 3+9+0=12 , A->2 , C->1
[1,7,5,2,4] + [5,4,0,5,8,6] , A=[2,9,0,4,3,8,8,0,2,9,3] , C=1 , 4+6+1=11 , A->1 , C->1
[1,7,5,2] + [5,4,0,5,8] , A=[1,2,9,0,4,3,8,8,0,2,9,3] , C=1 , 2+8+1=11 , A->1 , C->1
[1,7,5] + [5,4,0,5] , A=[1,1,2,9,0,4,3,8,8,0,2,9,3] , C=1 , 5+5+1=11 , A->1 , C->1
[1,7] + [5,4,0] , A=[1,1,1,2,9,0,4,3,8,8,0,2,9,3] , C=1 , 7+0+1=8 , A->8 , C->0
[1] + [5,4] , A=[8,1,1,1,2,9,0,4,3,8,8,0,2,9,3] , C=0 , 1+4+0=5 , A->5 , C->0
[] + [5] , A=[5,8,1,1,1,2,9,0,4,3,8,8,0,2,9,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,5,8,1,1,1,2,9,0,4,3,8,8,0,2,9,3] C=0 , END
</scratch>
55811129043880293
| 55811129043880293 | 16 |
Input:
38619651008411846+6759100091119
Target:
| Input:
38619651008411846+6759100091119
Target:
[3,8,6,1,9,6,5,1,0,0,8,4,1,1,8,4,6] + [6,7,5,9,1,0,0,0,9,1,1,1,9] , A=[] , C=0 , 6+9+0=15 , A->5 , C->1
[3,8,6,1,9,6,5,1,0,0,8,4,1,1,8,4] + [6,7,5,9,1,0,0,0,9,1,1,1] , A=[5] , C=1 , 4+1+1=6 , A->6 , C->0
[3,8,6,1,9,6,5,1,0,0,8,4,1,1,8] + [6,7,5,9,1,0,0,0,9,1,1] , A=[6,5] , C=0 , 8+1+0=9 , A->9 , C->0
[3,8,6,1,9,6,5,1,0,0,8,4,1,1] + [6,7,5,9,1,0,0,0,9,1] , A=[9,6,5] , C=0 , 1+1+0=2 , A->2 , C->0
[3,8,6,1,9,6,5,1,0,0,8,4,1] + [6,7,5,9,1,0,0,0,9] , A=[2,9,6,5] , C=0 , 1+9+0=10 , A->0 , C->1
[3,8,6,1,9,6,5,1,0,0,8,4] + [6,7,5,9,1,0,0,0] , A=[0,2,9,6,5] , C=1 , 4+0+1=5 , A->5 , C->0
[3,8,6,1,9,6,5,1,0,0,8] + [6,7,5,9,1,0,0] , A=[5,0,2,9,6,5] , C=0 , 8+0+0=8 , A->8 , C->0
[3,8,6,1,9,6,5,1,0,0] + [6,7,5,9,1,0] , A=[8,5,0,2,9,6,5] , C=0 , 0+0+0=0 , A->0 , C->0
[3,8,6,1,9,6,5,1,0] + [6,7,5,9,1] , A=[0,8,5,0,2,9,6,5] , C=0 , 0+1+0=1 , A->1 , C->0
[3,8,6,1,9,6,5,1] + [6,7,5,9] , A=[1,0,8,5,0,2,9,6,5] , C=0 , 1+9+0=10 , A->0 , C->1
[3,8,6,1,9,6,5] + [6,7,5] , A=[0,1,0,8,5,0,2,9,6,5] , C=1 , 5+5+1=11 , A->1 , C->1
[3,8,6,1,9,6] + [6,7] , A=[1,0,1,0,8,5,0,2,9,6,5] , C=1 , 6+7+1=14 , A->4 , C->1
[3,8,6,1,9] + [6] , A=[4,1,0,1,0,8,5,0,2,9,6,5] , C=1 , 9+6+1=16 , A->6 , C->1
[3,8,6,1] + [] , A=[6,4,1,0,1,0,8,5,0,2,9,6,5] , C=1 , 1+0+1=2 , A->2 , C->0
[3,8,6] + [] , A=[2,6,4,1,0,1,0,8,5,0,2,9,6,5] , C=0 , 6+0+0=6 , A->6 , C->0
[3,8] + [] , A=[6,2,6,4,1,0,1,0,8,5,0,2,9,6,5] , C=0 , 8+0+0=8 , A->8 , C->0
[3] + [] , A=[8,6,2,6,4,1,0,1,0,8,5,0,2,9,6,5] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,8,6,2,6,4,1,0,1,0,8,5,0,2,9,6,5] C=0 , END
</scratch>
38626410108502965
| 38626410108502965 | 13 |
Input:
6172609+49791768992899377
Target:
| Input:
6172609+49791768992899377
Target:
[6,1,7,2,6,0,9] + [4,9,7,9,1,7,6,8,9,9,2,8,9,9,3,7,7] , A=[] , C=0 , 9+7+0=16 , A->6 , C->1
[6,1,7,2,6,0] + [4,9,7,9,1,7,6,8,9,9,2,8,9,9,3,7] , A=[6] , C=1 , 0+7+1=8 , A->8 , C->0
[6,1,7,2,6] + [4,9,7,9,1,7,6,8,9,9,2,8,9,9,3] , A=[8,6] , C=0 , 6+3+0=9 , A->9 , C->0
[6,1,7,2] + [4,9,7,9,1,7,6,8,9,9,2,8,9,9] , A=[9,8,6] , C=0 , 2+9+0=11 , A->1 , C->1
[6,1,7] + [4,9,7,9,1,7,6,8,9,9,2,8,9] , A=[1,9,8,6] , C=1 , 7+9+1=17 , A->7 , C->1
[6,1] + [4,9,7,9,1,7,6,8,9,9,2,8] , A=[7,1,9,8,6] , C=1 , 1+8+1=10 , A->0 , C->1
[6] + [4,9,7,9,1,7,6,8,9,9,2] , A=[0,7,1,9,8,6] , C=1 , 6+2+1=9 , A->9 , C->0
[] + [4,9,7,9,1,7,6,8,9,9] , A=[9,0,7,1,9,8,6] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [4,9,7,9,1,7,6,8,9] , A=[9,9,0,7,1,9,8,6] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [4,9,7,9,1,7,6,8] , A=[9,9,9,0,7,1,9,8,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [4,9,7,9,1,7,6] , A=[8,9,9,9,0,7,1,9,8,6] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [4,9,7,9,1,7] , A=[6,8,9,9,9,0,7,1,9,8,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [4,9,7,9,1] , A=[7,6,8,9,9,9,0,7,1,9,8,6] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [4,9,7,9] , A=[1,7,6,8,9,9,9,0,7,1,9,8,6] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [4,9,7] , A=[9,1,7,6,8,9,9,9,0,7,1,9,8,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [4,9] , A=[7,9,1,7,6,8,9,9,9,0,7,1,9,8,6] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [4] , A=[9,7,9,1,7,6,8,9,9,9,0,7,1,9,8,6] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,9,7,9,1,7,6,8,9,9,9,0,7,1,9,8,6] C=0 , END
</scratch>
49791768999071986
| 49791768999071986 | 7 |
Input:
36865215230163947+73079114200085201
Target:
| Input:
36865215230163947+73079114200085201
Target:
[3,6,8,6,5,2,1,5,2,3,0,1,6,3,9,4,7] + [7,3,0,7,9,1,1,4,2,0,0,0,8,5,2,0,1] , A=[] , C=0 , 7+1+0=8 , A->8 , C->0
[3,6,8,6,5,2,1,5,2,3,0,1,6,3,9,4] + [7,3,0,7,9,1,1,4,2,0,0,0,8,5,2,0] , A=[8] , C=0 , 4+0+0=4 , A->4 , C->0
[3,6,8,6,5,2,1,5,2,3,0,1,6,3,9] + [7,3,0,7,9,1,1,4,2,0,0,0,8,5,2] , A=[4,8] , C=0 , 9+2+0=11 , A->1 , C->1
[3,6,8,6,5,2,1,5,2,3,0,1,6,3] + [7,3,0,7,9,1,1,4,2,0,0,0,8,5] , A=[1,4,8] , C=1 , 3+5+1=9 , A->9 , C->0
[3,6,8,6,5,2,1,5,2,3,0,1,6] + [7,3,0,7,9,1,1,4,2,0,0,0,8] , A=[9,1,4,8] , C=0 , 6+8+0=14 , A->4 , C->1
[3,6,8,6,5,2,1,5,2,3,0,1] + [7,3,0,7,9,1,1,4,2,0,0,0] , A=[4,9,1,4,8] , C=1 , 1+0+1=2 , A->2 , C->0
[3,6,8,6,5,2,1,5,2,3,0] + [7,3,0,7,9,1,1,4,2,0,0] , A=[2,4,9,1,4,8] , C=0 , 0+0+0=0 , A->0 , C->0
[3,6,8,6,5,2,1,5,2,3] + [7,3,0,7,9,1,1,4,2,0] , A=[0,2,4,9,1,4,8] , C=0 , 3+0+0=3 , A->3 , C->0
[3,6,8,6,5,2,1,5,2] + [7,3,0,7,9,1,1,4,2] , A=[3,0,2,4,9,1,4,8] , C=0 , 2+2+0=4 , A->4 , C->0
[3,6,8,6,5,2,1,5] + [7,3,0,7,9,1,1,4] , A=[4,3,0,2,4,9,1,4,8] , C=0 , 5+4+0=9 , A->9 , C->0
[3,6,8,6,5,2,1] + [7,3,0,7,9,1,1] , A=[9,4,3,0,2,4,9,1,4,8] , C=0 , 1+1+0=2 , A->2 , C->0
[3,6,8,6,5,2] + [7,3,0,7,9,1] , A=[2,9,4,3,0,2,4,9,1,4,8] , C=0 , 2+1+0=3 , A->3 , C->0
[3,6,8,6,5] + [7,3,0,7,9] , A=[3,2,9,4,3,0,2,4,9,1,4,8] , C=0 , 5+9+0=14 , A->4 , C->1
[3,6,8,6] + [7,3,0,7] , A=[4,3,2,9,4,3,0,2,4,9,1,4,8] , C=1 , 6+7+1=14 , A->4 , C->1
[3,6,8] + [7,3,0] , A=[4,4,3,2,9,4,3,0,2,4,9,1,4,8] , C=1 , 8+0+1=9 , A->9 , C->0
[3,6] + [7,3] , A=[9,4,4,3,2,9,4,3,0,2,4,9,1,4,8] , C=0 , 6+3+0=9 , A->9 , C->0
[3] + [7] , A=[9,9,4,4,3,2,9,4,3,0,2,4,9,1,4,8] , C=0 , 3+7+0=10 , A->0 , C->1
[] + [] , A=[0,9,9,4,4,3,2,9,4,3,0,2,4,9,1,4,8] C=1 , END
</scratch>
109944329430249148
| 109944329430249148 | 17 |
Input:
379892490668478+70960753264522063
Target:
| Input:
379892490668478+70960753264522063
Target:
[3,7,9,8,9,2,4,9,0,6,6,8,4,7,8] + [7,0,9,6,0,7,5,3,2,6,4,5,2,2,0,6,3] , A=[] , C=0 , 8+3+0=11 , A->1 , C->1
[3,7,9,8,9,2,4,9,0,6,6,8,4,7] + [7,0,9,6,0,7,5,3,2,6,4,5,2,2,0,6] , A=[1] , C=1 , 7+6+1=14 , A->4 , C->1
[3,7,9,8,9,2,4,9,0,6,6,8,4] + [7,0,9,6,0,7,5,3,2,6,4,5,2,2,0] , A=[4,1] , C=1 , 4+0+1=5 , A->5 , C->0
[3,7,9,8,9,2,4,9,0,6,6,8] + [7,0,9,6,0,7,5,3,2,6,4,5,2,2] , A=[5,4,1] , C=0 , 8+2+0=10 , A->0 , C->1
[3,7,9,8,9,2,4,9,0,6,6] + [7,0,9,6,0,7,5,3,2,6,4,5,2] , A=[0,5,4,1] , C=1 , 6+2+1=9 , A->9 , C->0
[3,7,9,8,9,2,4,9,0,6] + [7,0,9,6,0,7,5,3,2,6,4,5] , A=[9,0,5,4,1] , C=0 , 6+5+0=11 , A->1 , C->1
[3,7,9,8,9,2,4,9,0] + [7,0,9,6,0,7,5,3,2,6,4] , A=[1,9,0,5,4,1] , C=1 , 0+4+1=5 , A->5 , C->0
[3,7,9,8,9,2,4,9] + [7,0,9,6,0,7,5,3,2,6] , A=[5,1,9,0,5,4,1] , C=0 , 9+6+0=15 , A->5 , C->1
[3,7,9,8,9,2,4] + [7,0,9,6,0,7,5,3,2] , A=[5,5,1,9,0,5,4,1] , C=1 , 4+2+1=7 , A->7 , C->0
[3,7,9,8,9,2] + [7,0,9,6,0,7,5,3] , A=[7,5,5,1,9,0,5,4,1] , C=0 , 2+3+0=5 , A->5 , C->0
[3,7,9,8,9] + [7,0,9,6,0,7,5] , A=[5,7,5,5,1,9,0,5,4,1] , C=0 , 9+5+0=14 , A->4 , C->1
[3,7,9,8] + [7,0,9,6,0,7] , A=[4,5,7,5,5,1,9,0,5,4,1] , C=1 , 8+7+1=16 , A->6 , C->1
[3,7,9] + [7,0,9,6,0] , A=[6,4,5,7,5,5,1,9,0,5,4,1] , C=1 , 9+0+1=10 , A->0 , C->1
[3,7] + [7,0,9,6] , A=[0,6,4,5,7,5,5,1,9,0,5,4,1] , C=1 , 7+6+1=14 , A->4 , C->1
[3] + [7,0,9] , A=[4,0,6,4,5,7,5,5,1,9,0,5,4,1] , C=1 , 3+9+1=13 , A->3 , C->1
[] + [7,0] , A=[3,4,0,6,4,5,7,5,5,1,9,0,5,4,1] , C=1 , 0+0+1=1 , A->1 , C->0
[] + [7] , A=[1,3,4,0,6,4,5,7,5,5,1,9,0,5,4,1] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,1,3,4,0,6,4,5,7,5,5,1,9,0,5,4,1] C=0 , END
</scratch>
71340645755190541
| 71340645755190541 | 15 |
Input:
21074304022353794+81970598291
Target:
| Input:
21074304022353794+81970598291
Target:
[2,1,0,7,4,3,0,4,0,2,2,3,5,3,7,9,4] + [8,1,9,7,0,5,9,8,2,9,1] , A=[] , C=0 , 4+1+0=5 , A->5 , C->0
[2,1,0,7,4,3,0,4,0,2,2,3,5,3,7,9] + [8,1,9,7,0,5,9,8,2,9] , A=[5] , C=0 , 9+9+0=18 , A->8 , C->1
[2,1,0,7,4,3,0,4,0,2,2,3,5,3,7] + [8,1,9,7,0,5,9,8,2] , A=[8,5] , C=1 , 7+2+1=10 , A->0 , C->1
[2,1,0,7,4,3,0,4,0,2,2,3,5,3] + [8,1,9,7,0,5,9,8] , A=[0,8,5] , C=1 , 3+8+1=12 , A->2 , C->1
[2,1,0,7,4,3,0,4,0,2,2,3,5] + [8,1,9,7,0,5,9] , A=[2,0,8,5] , C=1 , 5+9+1=15 , A->5 , C->1
[2,1,0,7,4,3,0,4,0,2,2,3] + [8,1,9,7,0,5] , A=[5,2,0,8,5] , C=1 , 3+5+1=9 , A->9 , C->0
[2,1,0,7,4,3,0,4,0,2,2] + [8,1,9,7,0] , A=[9,5,2,0,8,5] , C=0 , 2+0+0=2 , A->2 , C->0
[2,1,0,7,4,3,0,4,0,2] + [8,1,9,7] , A=[2,9,5,2,0,8,5] , C=0 , 2+7+0=9 , A->9 , C->0
[2,1,0,7,4,3,0,4,0] + [8,1,9] , A=[9,2,9,5,2,0,8,5] , C=0 , 0+9+0=9 , A->9 , C->0
[2,1,0,7,4,3,0,4] + [8,1] , A=[9,9,2,9,5,2,0,8,5] , C=0 , 4+1+0=5 , A->5 , C->0
[2,1,0,7,4,3,0] + [8] , A=[5,9,9,2,9,5,2,0,8,5] , C=0 , 0+8+0=8 , A->8 , C->0
[2,1,0,7,4,3] + [] , A=[8,5,9,9,2,9,5,2,0,8,5] , C=0 , 3+0+0=3 , A->3 , C->0
[2,1,0,7,4] + [] , A=[3,8,5,9,9,2,9,5,2,0,8,5] , C=0 , 4+0+0=4 , A->4 , C->0
[2,1,0,7] + [] , A=[4,3,8,5,9,9,2,9,5,2,0,8,5] , C=0 , 7+0+0=7 , A->7 , C->0
[2,1,0] + [] , A=[7,4,3,8,5,9,9,2,9,5,2,0,8,5] , C=0 , 0+0+0=0 , A->0 , C->0
[2,1] + [] , A=[0,7,4,3,8,5,9,9,2,9,5,2,0,8,5] , C=0 , 1+0+0=1 , A->1 , C->0
[2] + [] , A=[1,0,7,4,3,8,5,9,9,2,9,5,2,0,8,5] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,1,0,7,4,3,8,5,9,9,2,9,5,2,0,8,5] C=0 , END
</scratch>
21074385992952085
| 21074385992952085 | 11 |
Input:
4966357411884019+79159107864268520
Target:
| Input:
4966357411884019+79159107864268520
Target:
[4,9,6,6,3,5,7,4,1,1,8,8,4,0,1,9] + [7,9,1,5,9,1,0,7,8,6,4,2,6,8,5,2,0] , A=[] , C=0 , 9+0+0=9 , A->9 , C->0
[4,9,6,6,3,5,7,4,1,1,8,8,4,0,1] + [7,9,1,5,9,1,0,7,8,6,4,2,6,8,5,2] , A=[9] , C=0 , 1+2+0=3 , A->3 , C->0
[4,9,6,6,3,5,7,4,1,1,8,8,4,0] + [7,9,1,5,9,1,0,7,8,6,4,2,6,8,5] , A=[3,9] , C=0 , 0+5+0=5 , A->5 , C->0
[4,9,6,6,3,5,7,4,1,1,8,8,4] + [7,9,1,5,9,1,0,7,8,6,4,2,6,8] , A=[5,3,9] , C=0 , 4+8+0=12 , A->2 , C->1
[4,9,6,6,3,5,7,4,1,1,8,8] + [7,9,1,5,9,1,0,7,8,6,4,2,6] , A=[2,5,3,9] , C=1 , 8+6+1=15 , A->5 , C->1
[4,9,6,6,3,5,7,4,1,1,8] + [7,9,1,5,9,1,0,7,8,6,4,2] , A=[5,2,5,3,9] , C=1 , 8+2+1=11 , A->1 , C->1
[4,9,6,6,3,5,7,4,1,1] + [7,9,1,5,9,1,0,7,8,6,4] , A=[1,5,2,5,3,9] , C=1 , 1+4+1=6 , A->6 , C->0
[4,9,6,6,3,5,7,4,1] + [7,9,1,5,9,1,0,7,8,6] , A=[6,1,5,2,5,3,9] , C=0 , 1+6+0=7 , A->7 , C->0
[4,9,6,6,3,5,7,4] + [7,9,1,5,9,1,0,7,8] , A=[7,6,1,5,2,5,3,9] , C=0 , 4+8+0=12 , A->2 , C->1
[4,9,6,6,3,5,7] + [7,9,1,5,9,1,0,7] , A=[2,7,6,1,5,2,5,3,9] , C=1 , 7+7+1=15 , A->5 , C->1
[4,9,6,6,3,5] + [7,9,1,5,9,1,0] , A=[5,2,7,6,1,5,2,5,3,9] , C=1 , 5+0+1=6 , A->6 , C->0
[4,9,6,6,3] + [7,9,1,5,9,1] , A=[6,5,2,7,6,1,5,2,5,3,9] , C=0 , 3+1+0=4 , A->4 , C->0
[4,9,6,6] + [7,9,1,5,9] , A=[4,6,5,2,7,6,1,5,2,5,3,9] , C=0 , 6+9+0=15 , A->5 , C->1
[4,9,6] + [7,9,1,5] , A=[5,4,6,5,2,7,6,1,5,2,5,3,9] , C=1 , 6+5+1=12 , A->2 , C->1
[4,9] + [7,9,1] , A=[2,5,4,6,5,2,7,6,1,5,2,5,3,9] , C=1 , 9+1+1=11 , A->1 , C->1
[4] + [7,9] , A=[1,2,5,4,6,5,2,7,6,1,5,2,5,3,9] , C=1 , 4+9+1=14 , A->4 , C->1
[] + [7] , A=[4,1,2,5,4,6,5,2,7,6,1,5,2,5,3,9] , C=1 , 0+7+1=8 , A->8 , C->0
[] + [] , A=[8,4,1,2,5,4,6,5,2,7,6,1,5,2,5,3,9] C=0 , END
</scratch>
84125465276152539
| 84125465276152539 | 16 |
Input:
64525556510682338+120587446034963
Target:
| Input:
64525556510682338+120587446034963
Target:
[6,4,5,2,5,5,5,6,5,1,0,6,8,2,3,3,8] + [1,2,0,5,8,7,4,4,6,0,3,4,9,6,3] , A=[] , C=0 , 8+3+0=11 , A->1 , C->1
[6,4,5,2,5,5,5,6,5,1,0,6,8,2,3,3] + [1,2,0,5,8,7,4,4,6,0,3,4,9,6] , A=[1] , C=1 , 3+6+1=10 , A->0 , C->1
[6,4,5,2,5,5,5,6,5,1,0,6,8,2,3] + [1,2,0,5,8,7,4,4,6,0,3,4,9] , A=[0,1] , C=1 , 3+9+1=13 , A->3 , C->1
[6,4,5,2,5,5,5,6,5,1,0,6,8,2] + [1,2,0,5,8,7,4,4,6,0,3,4] , A=[3,0,1] , C=1 , 2+4+1=7 , A->7 , C->0
[6,4,5,2,5,5,5,6,5,1,0,6,8] + [1,2,0,5,8,7,4,4,6,0,3] , A=[7,3,0,1] , C=0 , 8+3+0=11 , A->1 , C->1
[6,4,5,2,5,5,5,6,5,1,0,6] + [1,2,0,5,8,7,4,4,6,0] , A=[1,7,3,0,1] , C=1 , 6+0+1=7 , A->7 , C->0
[6,4,5,2,5,5,5,6,5,1,0] + [1,2,0,5,8,7,4,4,6] , A=[7,1,7,3,0,1] , C=0 , 0+6+0=6 , A->6 , C->0
[6,4,5,2,5,5,5,6,5,1] + [1,2,0,5,8,7,4,4] , A=[6,7,1,7,3,0,1] , C=0 , 1+4+0=5 , A->5 , C->0
[6,4,5,2,5,5,5,6,5] + [1,2,0,5,8,7,4] , A=[5,6,7,1,7,3,0,1] , C=0 , 5+4+0=9 , A->9 , C->0
[6,4,5,2,5,5,5,6] + [1,2,0,5,8,7] , A=[9,5,6,7,1,7,3,0,1] , C=0 , 6+7+0=13 , A->3 , C->1
[6,4,5,2,5,5,5] + [1,2,0,5,8] , A=[3,9,5,6,7,1,7,3,0,1] , C=1 , 5+8+1=14 , A->4 , C->1
[6,4,5,2,5,5] + [1,2,0,5] , A=[4,3,9,5,6,7,1,7,3,0,1] , C=1 , 5+5+1=11 , A->1 , C->1
[6,4,5,2,5] + [1,2,0] , A=[1,4,3,9,5,6,7,1,7,3,0,1] , C=1 , 5+0+1=6 , A->6 , C->0
[6,4,5,2] + [1,2] , A=[6,1,4,3,9,5,6,7,1,7,3,0,1] , C=0 , 2+2+0=4 , A->4 , C->0
[6,4,5] + [1] , A=[4,6,1,4,3,9,5,6,7,1,7,3,0,1] , C=0 , 5+1+0=6 , A->6 , C->0
[6,4] + [] , A=[6,4,6,1,4,3,9,5,6,7,1,7,3,0,1] , C=0 , 4+0+0=4 , A->4 , C->0
[6] + [] , A=[4,6,4,6,1,4,3,9,5,6,7,1,7,3,0,1] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,4,6,4,6,1,4,3,9,5,6,7,1,7,3,0,1] C=0 , END
</scratch>
64646143956717301
| 64646143956717301 | 15 |
Input:
568090079721+61456077646010212
Target:
| Input:
568090079721+61456077646010212
Target:
[5,6,8,0,9,0,0,7,9,7,2,1] + [6,1,4,5,6,0,7,7,6,4,6,0,1,0,2,1,2] , A=[] , C=0 , 1+2+0=3 , A->3 , C->0
[5,6,8,0,9,0,0,7,9,7,2] + [6,1,4,5,6,0,7,7,6,4,6,0,1,0,2,1] , A=[3] , C=0 , 2+1+0=3 , A->3 , C->0
[5,6,8,0,9,0,0,7,9,7] + [6,1,4,5,6,0,7,7,6,4,6,0,1,0,2] , A=[3,3] , C=0 , 7+2+0=9 , A->9 , C->0
[5,6,8,0,9,0,0,7,9] + [6,1,4,5,6,0,7,7,6,4,6,0,1,0] , A=[9,3,3] , C=0 , 9+0+0=9 , A->9 , C->0
[5,6,8,0,9,0,0,7] + [6,1,4,5,6,0,7,7,6,4,6,0,1] , A=[9,9,3,3] , C=0 , 7+1+0=8 , A->8 , C->0
[5,6,8,0,9,0,0] + [6,1,4,5,6,0,7,7,6,4,6,0] , A=[8,9,9,3,3] , C=0 , 0+0+0=0 , A->0 , C->0
[5,6,8,0,9,0] + [6,1,4,5,6,0,7,7,6,4,6] , A=[0,8,9,9,3,3] , C=0 , 0+6+0=6 , A->6 , C->0
[5,6,8,0,9] + [6,1,4,5,6,0,7,7,6,4] , A=[6,0,8,9,9,3,3] , C=0 , 9+4+0=13 , A->3 , C->1
[5,6,8,0] + [6,1,4,5,6,0,7,7,6] , A=[3,6,0,8,9,9,3,3] , C=1 , 0+6+1=7 , A->7 , C->0
[5,6,8] + [6,1,4,5,6,0,7,7] , A=[7,3,6,0,8,9,9,3,3] , C=0 , 8+7+0=15 , A->5 , C->1
[5,6] + [6,1,4,5,6,0,7] , A=[5,7,3,6,0,8,9,9,3,3] , C=1 , 6+7+1=14 , A->4 , C->1
[5] + [6,1,4,5,6,0] , A=[4,5,7,3,6,0,8,9,9,3,3] , C=1 , 5+0+1=6 , A->6 , C->0
[] + [6,1,4,5,6] , A=[6,4,5,7,3,6,0,8,9,9,3,3] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [6,1,4,5] , A=[6,6,4,5,7,3,6,0,8,9,9,3,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [6,1,4] , A=[5,6,6,4,5,7,3,6,0,8,9,9,3,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6,1] , A=[4,5,6,6,4,5,7,3,6,0,8,9,9,3,3] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [6] , A=[1,4,5,6,6,4,5,7,3,6,0,8,9,9,3,3] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,1,4,5,6,6,4,5,7,3,6,0,8,9,9,3,3] C=0 , END
</scratch>
61456645736089933
| 61456645736089933 | 12 |
Input:
3+91168358347513265
Target:
| Input:
3+91168358347513265
Target:
[3] + [9,1,1,6,8,3,5,8,3,4,7,5,1,3,2,6,5] , A=[] , C=0 , 3+5+0=8 , A->8 , C->0
[] + [9,1,1,6,8,3,5,8,3,4,7,5,1,3,2,6] , A=[8] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [9,1,1,6,8,3,5,8,3,4,7,5,1,3,2] , A=[6,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,1,1,6,8,3,5,8,3,4,7,5,1,3] , A=[2,6,8] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [9,1,1,6,8,3,5,8,3,4,7,5,1] , A=[3,2,6,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9,1,1,6,8,3,5,8,3,4,7,5] , A=[1,3,2,6,8] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,1,1,6,8,3,5,8,3,4,7] , A=[5,1,3,2,6,8] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [9,1,1,6,8,3,5,8,3,4] , A=[7,5,1,3,2,6,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [9,1,1,6,8,3,5,8,3] , A=[4,7,5,1,3,2,6,8] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [9,1,1,6,8,3,5,8] , A=[3,4,7,5,1,3,2,6,8] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9,1,1,6,8,3,5] , A=[8,3,4,7,5,1,3,2,6,8] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,1,1,6,8,3] , A=[5,8,3,4,7,5,1,3,2,6,8] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [9,1,1,6,8] , A=[3,5,8,3,4,7,5,1,3,2,6,8] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9,1,1,6] , A=[8,3,5,8,3,4,7,5,1,3,2,6,8] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [9,1,1] , A=[6,8,3,5,8,3,4,7,5,1,3,2,6,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9,1] , A=[1,6,8,3,5,8,3,4,7,5,1,3,2,6,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9] , A=[1,1,6,8,3,5,8,3,4,7,5,1,3,2,6,8] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,1,1,6,8,3,5,8,3,4,7,5,1,3,2,6,8] C=0 , END
</scratch>
91168358347513268
| 91168358347513268 | 1 |
Input:
96516014581294190+574359507
Target:
| Input:
96516014581294190+574359507
Target:
[9,6,5,1,6,0,1,4,5,8,1,2,9,4,1,9,0] + [5,7,4,3,5,9,5,0,7] , A=[] , C=0 , 0+7+0=7 , A->7 , C->0
[9,6,5,1,6,0,1,4,5,8,1,2,9,4,1,9] + [5,7,4,3,5,9,5,0] , A=[7] , C=0 , 9+0+0=9 , A->9 , C->0
[9,6,5,1,6,0,1,4,5,8,1,2,9,4,1] + [5,7,4,3,5,9,5] , A=[9,7] , C=0 , 1+5+0=6 , A->6 , C->0
[9,6,5,1,6,0,1,4,5,8,1,2,9,4] + [5,7,4,3,5,9] , A=[6,9,7] , C=0 , 4+9+0=13 , A->3 , C->1
[9,6,5,1,6,0,1,4,5,8,1,2,9] + [5,7,4,3,5] , A=[3,6,9,7] , C=1 , 9+5+1=15 , A->5 , C->1
[9,6,5,1,6,0,1,4,5,8,1,2] + [5,7,4,3] , A=[5,3,6,9,7] , C=1 , 2+3+1=6 , A->6 , C->0
[9,6,5,1,6,0,1,4,5,8,1] + [5,7,4] , A=[6,5,3,6,9,7] , C=0 , 1+4+0=5 , A->5 , C->0
[9,6,5,1,6,0,1,4,5,8] + [5,7] , A=[5,6,5,3,6,9,7] , C=0 , 8+7+0=15 , A->5 , C->1
[9,6,5,1,6,0,1,4,5] + [5] , A=[5,5,6,5,3,6,9,7] , C=1 , 5+5+1=11 , A->1 , C->1
[9,6,5,1,6,0,1,4] + [] , A=[1,5,5,6,5,3,6,9,7] , C=1 , 4+0+1=5 , A->5 , C->0
[9,6,5,1,6,0,1] + [] , A=[5,1,5,5,6,5,3,6,9,7] , C=0 , 1+0+0=1 , A->1 , C->0
[9,6,5,1,6,0] + [] , A=[1,5,1,5,5,6,5,3,6,9,7] , C=0 , 0+0+0=0 , A->0 , C->0
[9,6,5,1,6] + [] , A=[0,1,5,1,5,5,6,5,3,6,9,7] , C=0 , 6+0+0=6 , A->6 , C->0
[9,6,5,1] + [] , A=[6,0,1,5,1,5,5,6,5,3,6,9,7] , C=0 , 1+0+0=1 , A->1 , C->0
[9,6,5] + [] , A=[1,6,0,1,5,1,5,5,6,5,3,6,9,7] , C=0 , 5+0+0=5 , A->5 , C->0
[9,6] + [] , A=[5,1,6,0,1,5,1,5,5,6,5,3,6,9,7] , C=0 , 6+0+0=6 , A->6 , C->0
[9] + [] , A=[6,5,1,6,0,1,5,1,5,5,6,5,3,6,9,7] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,6,5,1,6,0,1,5,1,5,5,6,5,3,6,9,7] C=0 , END
</scratch>
96516015155653697
| 96516015155653697 | 9 |
Input:
1886532746+38797256453031483
Target:
| Input:
1886532746+38797256453031483
Target:
[1,8,8,6,5,3,2,7,4,6] + [3,8,7,9,7,2,5,6,4,5,3,0,3,1,4,8,3] , A=[] , C=0 , 6+3+0=9 , A->9 , C->0
[1,8,8,6,5,3,2,7,4] + [3,8,7,9,7,2,5,6,4,5,3,0,3,1,4,8] , A=[9] , C=0 , 4+8+0=12 , A->2 , C->1
[1,8,8,6,5,3,2,7] + [3,8,7,9,7,2,5,6,4,5,3,0,3,1,4] , A=[2,9] , C=1 , 7+4+1=12 , A->2 , C->1
[1,8,8,6,5,3,2] + [3,8,7,9,7,2,5,6,4,5,3,0,3,1] , A=[2,2,9] , C=1 , 2+1+1=4 , A->4 , C->0
[1,8,8,6,5,3] + [3,8,7,9,7,2,5,6,4,5,3,0,3] , A=[4,2,2,9] , C=0 , 3+3+0=6 , A->6 , C->0
[1,8,8,6,5] + [3,8,7,9,7,2,5,6,4,5,3,0] , A=[6,4,2,2,9] , C=0 , 5+0+0=5 , A->5 , C->0
[1,8,8,6] + [3,8,7,9,7,2,5,6,4,5,3] , A=[5,6,4,2,2,9] , C=0 , 6+3+0=9 , A->9 , C->0
[1,8,8] + [3,8,7,9,7,2,5,6,4,5] , A=[9,5,6,4,2,2,9] , C=0 , 8+5+0=13 , A->3 , C->1
[1,8] + [3,8,7,9,7,2,5,6,4] , A=[3,9,5,6,4,2,2,9] , C=1 , 8+4+1=13 , A->3 , C->1
[1] + [3,8,7,9,7,2,5,6] , A=[3,3,9,5,6,4,2,2,9] , C=1 , 1+6+1=8 , A->8 , C->0
[] + [3,8,7,9,7,2,5] , A=[8,3,3,9,5,6,4,2,2,9] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [3,8,7,9,7,2] , A=[5,8,3,3,9,5,6,4,2,2,9] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [3,8,7,9,7] , A=[2,5,8,3,3,9,5,6,4,2,2,9] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [3,8,7,9] , A=[7,2,5,8,3,3,9,5,6,4,2,2,9] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [3,8,7] , A=[9,7,2,5,8,3,3,9,5,6,4,2,2,9] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [3,8] , A=[7,9,7,2,5,8,3,3,9,5,6,4,2,2,9] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [3] , A=[8,7,9,7,2,5,8,3,3,9,5,6,4,2,2,9] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [] , A=[3,8,7,9,7,2,5,8,3,3,9,5,6,4,2,2,9] C=0 , END
</scratch>
38797258339564229
| 38797258339564229 | 10 |
Input:
3+67705427377886520
Target:
| Input:
3+67705427377886520
Target:
[3] + [6,7,7,0,5,4,2,7,3,7,7,8,8,6,5,2,0] , A=[] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [6,7,7,0,5,4,2,7,3,7,7,8,8,6,5,2] , A=[3] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [6,7,7,0,5,4,2,7,3,7,7,8,8,6,5] , A=[2,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [6,7,7,0,5,4,2,7,3,7,7,8,8,6] , A=[5,2,3] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [6,7,7,0,5,4,2,7,3,7,7,8,8] , A=[6,5,2,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [6,7,7,0,5,4,2,7,3,7,7,8] , A=[8,6,5,2,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [6,7,7,0,5,4,2,7,3,7,7] , A=[8,8,6,5,2,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,7,7,0,5,4,2,7,3,7] , A=[7,8,8,6,5,2,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,7,7,0,5,4,2,7,3] , A=[7,7,8,8,6,5,2,3] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [6,7,7,0,5,4,2,7] , A=[3,7,7,8,8,6,5,2,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,7,7,0,5,4,2] , A=[7,3,7,7,8,8,6,5,2,3] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [6,7,7,0,5,4] , A=[2,7,3,7,7,8,8,6,5,2,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6,7,7,0,5] , A=[4,2,7,3,7,7,8,8,6,5,2,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [6,7,7,0] , A=[5,4,2,7,3,7,7,8,8,6,5,2,3] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [6,7,7] , A=[0,5,4,2,7,3,7,7,8,8,6,5,2,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,7] , A=[7,0,5,4,2,7,3,7,7,8,8,6,5,2,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6] , A=[7,7,0,5,4,2,7,3,7,7,8,8,6,5,2,3] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,7,7,0,5,4,2,7,3,7,7,8,8,6,5,2,3] C=0 , END
</scratch>
67705427377886523
| 67705427377886523 | 1 |
Input:
27335133077308024+34
Target:
| Input:
27335133077308024+34
Target:
[2,7,3,3,5,1,3,3,0,7,7,3,0,8,0,2,4] + [3,4] , A=[] , C=0 , 4+4+0=8 , A->8 , C->0
[2,7,3,3,5,1,3,3,0,7,7,3,0,8,0,2] + [3] , A=[8] , C=0 , 2+3+0=5 , A->5 , C->0
[2,7,3,3,5,1,3,3,0,7,7,3,0,8,0] + [] , A=[5,8] , C=0 , 0+0+0=0 , A->0 , C->0
[2,7,3,3,5,1,3,3,0,7,7,3,0,8] + [] , A=[0,5,8] , C=0 , 8+0+0=8 , A->8 , C->0
[2,7,3,3,5,1,3,3,0,7,7,3,0] + [] , A=[8,0,5,8] , C=0 , 0+0+0=0 , A->0 , C->0
[2,7,3,3,5,1,3,3,0,7,7,3] + [] , A=[0,8,0,5,8] , C=0 , 3+0+0=3 , A->3 , C->0
[2,7,3,3,5,1,3,3,0,7,7] + [] , A=[3,0,8,0,5,8] , C=0 , 7+0+0=7 , A->7 , C->0
[2,7,3,3,5,1,3,3,0,7] + [] , A=[7,3,0,8,0,5,8] , C=0 , 7+0+0=7 , A->7 , C->0
[2,7,3,3,5,1,3,3,0] + [] , A=[7,7,3,0,8,0,5,8] , C=0 , 0+0+0=0 , A->0 , C->0
[2,7,3,3,5,1,3,3] + [] , A=[0,7,7,3,0,8,0,5,8] , C=0 , 3+0+0=3 , A->3 , C->0
[2,7,3,3,5,1,3] + [] , A=[3,0,7,7,3,0,8,0,5,8] , C=0 , 3+0+0=3 , A->3 , C->0
[2,7,3,3,5,1] + [] , A=[3,3,0,7,7,3,0,8,0,5,8] , C=0 , 1+0+0=1 , A->1 , C->0
[2,7,3,3,5] + [] , A=[1,3,3,0,7,7,3,0,8,0,5,8] , C=0 , 5+0+0=5 , A->5 , C->0
[2,7,3,3] + [] , A=[5,1,3,3,0,7,7,3,0,8,0,5,8] , C=0 , 3+0+0=3 , A->3 , C->0
[2,7,3] + [] , A=[3,5,1,3,3,0,7,7,3,0,8,0,5,8] , C=0 , 3+0+0=3 , A->3 , C->0
[2,7] + [] , A=[3,3,5,1,3,3,0,7,7,3,0,8,0,5,8] , C=0 , 7+0+0=7 , A->7 , C->0
[2] + [] , A=[7,3,3,5,1,3,3,0,7,7,3,0,8,0,5,8] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,7,3,3,5,1,3,3,0,7,7,3,0,8,0,5,8] C=0 , END
</scratch>
27335133077308058
| 27335133077308058 | 2 |
Input:
78837382145803560+7468193296
Target:
| Input:
78837382145803560+7468193296
Target:
[7,8,8,3,7,3,8,2,1,4,5,8,0,3,5,6,0] + [7,4,6,8,1,9,3,2,9,6] , A=[] , C=0 , 0+6+0=6 , A->6 , C->0
[7,8,8,3,7,3,8,2,1,4,5,8,0,3,5,6] + [7,4,6,8,1,9,3,2,9] , A=[6] , C=0 , 6+9+0=15 , A->5 , C->1
[7,8,8,3,7,3,8,2,1,4,5,8,0,3,5] + [7,4,6,8,1,9,3,2] , A=[5,6] , C=1 , 5+2+1=8 , A->8 , C->0
[7,8,8,3,7,3,8,2,1,4,5,8,0,3] + [7,4,6,8,1,9,3] , A=[8,5,6] , C=0 , 3+3+0=6 , A->6 , C->0
[7,8,8,3,7,3,8,2,1,4,5,8,0] + [7,4,6,8,1,9] , A=[6,8,5,6] , C=0 , 0+9+0=9 , A->9 , C->0
[7,8,8,3,7,3,8,2,1,4,5,8] + [7,4,6,8,1] , A=[9,6,8,5,6] , C=0 , 8+1+0=9 , A->9 , C->0
[7,8,8,3,7,3,8,2,1,4,5] + [7,4,6,8] , A=[9,9,6,8,5,6] , C=0 , 5+8+0=13 , A->3 , C->1
[7,8,8,3,7,3,8,2,1,4] + [7,4,6] , A=[3,9,9,6,8,5,6] , C=1 , 4+6+1=11 , A->1 , C->1
[7,8,8,3,7,3,8,2,1] + [7,4] , A=[1,3,9,9,6,8,5,6] , C=1 , 1+4+1=6 , A->6 , C->0
[7,8,8,3,7,3,8,2] + [7] , A=[6,1,3,9,9,6,8,5,6] , C=0 , 2+7+0=9 , A->9 , C->0
[7,8,8,3,7,3,8] + [] , A=[9,6,1,3,9,9,6,8,5,6] , C=0 , 8+0+0=8 , A->8 , C->0
[7,8,8,3,7,3] + [] , A=[8,9,6,1,3,9,9,6,8,5,6] , C=0 , 3+0+0=3 , A->3 , C->0
[7,8,8,3,7] + [] , A=[3,8,9,6,1,3,9,9,6,8,5,6] , C=0 , 7+0+0=7 , A->7 , C->0
[7,8,8,3] + [] , A=[7,3,8,9,6,1,3,9,9,6,8,5,6] , C=0 , 3+0+0=3 , A->3 , C->0
[7,8,8] + [] , A=[3,7,3,8,9,6,1,3,9,9,6,8,5,6] , C=0 , 8+0+0=8 , A->8 , C->0
[7,8] + [] , A=[8,3,7,3,8,9,6,1,3,9,9,6,8,5,6] , C=0 , 8+0+0=8 , A->8 , C->0
[7] + [] , A=[8,8,3,7,3,8,9,6,1,3,9,9,6,8,5,6] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [] , A=[7,8,8,3,7,3,8,9,6,1,3,9,9,6,8,5,6] C=0 , END
</scratch>
78837389613996856
| 78837389613996856 | 10 |
Input:
237995954777472+18331613672566386
Target:
| Input:
237995954777472+18331613672566386
Target:
[2,3,7,9,9,5,9,5,4,7,7,7,4,7,2] + [1,8,3,3,1,6,1,3,6,7,2,5,6,6,3,8,6] , A=[] , C=0 , 2+6+0=8 , A->8 , C->0
[2,3,7,9,9,5,9,5,4,7,7,7,4,7] + [1,8,3,3,1,6,1,3,6,7,2,5,6,6,3,8] , A=[8] , C=0 , 7+8+0=15 , A->5 , C->1
[2,3,7,9,9,5,9,5,4,7,7,7,4] + [1,8,3,3,1,6,1,3,6,7,2,5,6,6,3] , A=[5,8] , C=1 , 4+3+1=8 , A->8 , C->0
[2,3,7,9,9,5,9,5,4,7,7,7] + [1,8,3,3,1,6,1,3,6,7,2,5,6,6] , A=[8,5,8] , C=0 , 7+6+0=13 , A->3 , C->1
[2,3,7,9,9,5,9,5,4,7,7] + [1,8,3,3,1,6,1,3,6,7,2,5,6] , A=[3,8,5,8] , C=1 , 7+6+1=14 , A->4 , C->1
[2,3,7,9,9,5,9,5,4,7] + [1,8,3,3,1,6,1,3,6,7,2,5] , A=[4,3,8,5,8] , C=1 , 7+5+1=13 , A->3 , C->1
[2,3,7,9,9,5,9,5,4] + [1,8,3,3,1,6,1,3,6,7,2] , A=[3,4,3,8,5,8] , C=1 , 4+2+1=7 , A->7 , C->0
[2,3,7,9,9,5,9,5] + [1,8,3,3,1,6,1,3,6,7] , A=[7,3,4,3,8,5,8] , C=0 , 5+7+0=12 , A->2 , C->1
[2,3,7,9,9,5,9] + [1,8,3,3,1,6,1,3,6] , A=[2,7,3,4,3,8,5,8] , C=1 , 9+6+1=16 , A->6 , C->1
[2,3,7,9,9,5] + [1,8,3,3,1,6,1,3] , A=[6,2,7,3,4,3,8,5,8] , C=1 , 5+3+1=9 , A->9 , C->0
[2,3,7,9,9] + [1,8,3,3,1,6,1] , A=[9,6,2,7,3,4,3,8,5,8] , C=0 , 9+1+0=10 , A->0 , C->1
[2,3,7,9] + [1,8,3,3,1,6] , A=[0,9,6,2,7,3,4,3,8,5,8] , C=1 , 9+6+1=16 , A->6 , C->1
[2,3,7] + [1,8,3,3,1] , A=[6,0,9,6,2,7,3,4,3,8,5,8] , C=1 , 7+1+1=9 , A->9 , C->0
[2,3] + [1,8,3,3] , A=[9,6,0,9,6,2,7,3,4,3,8,5,8] , C=0 , 3+3+0=6 , A->6 , C->0
[2] + [1,8,3] , A=[6,9,6,0,9,6,2,7,3,4,3,8,5,8] , C=0 , 2+3+0=5 , A->5 , C->0
[] + [1,8] , A=[5,6,9,6,0,9,6,2,7,3,4,3,8,5,8] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [1] , A=[8,5,6,9,6,0,9,6,2,7,3,4,3,8,5,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,8,5,6,9,6,0,9,6,2,7,3,4,3,8,5,8] C=0 , END
</scratch>
18569609627343858
| 18569609627343858 | 15 |
Input:
93845609933576843+37930515829
Target:
| Input:
93845609933576843+37930515829
Target:
[9,3,8,4,5,6,0,9,9,3,3,5,7,6,8,4,3] + [3,7,9,3,0,5,1,5,8,2,9] , A=[] , C=0 , 3+9+0=12 , A->2 , C->1
[9,3,8,4,5,6,0,9,9,3,3,5,7,6,8,4] + [3,7,9,3,0,5,1,5,8,2] , A=[2] , C=1 , 4+2+1=7 , A->7 , C->0
[9,3,8,4,5,6,0,9,9,3,3,5,7,6,8] + [3,7,9,3,0,5,1,5,8] , A=[7,2] , C=0 , 8+8+0=16 , A->6 , C->1
[9,3,8,4,5,6,0,9,9,3,3,5,7,6] + [3,7,9,3,0,5,1,5] , A=[6,7,2] , C=1 , 6+5+1=12 , A->2 , C->1
[9,3,8,4,5,6,0,9,9,3,3,5,7] + [3,7,9,3,0,5,1] , A=[2,6,7,2] , C=1 , 7+1+1=9 , A->9 , C->0
[9,3,8,4,5,6,0,9,9,3,3,5] + [3,7,9,3,0,5] , A=[9,2,6,7,2] , C=0 , 5+5+0=10 , A->0 , C->1
[9,3,8,4,5,6,0,9,9,3,3] + [3,7,9,3,0] , A=[0,9,2,6,7,2] , C=1 , 3+0+1=4 , A->4 , C->0
[9,3,8,4,5,6,0,9,9,3] + [3,7,9,3] , A=[4,0,9,2,6,7,2] , C=0 , 3+3+0=6 , A->6 , C->0
[9,3,8,4,5,6,0,9,9] + [3,7,9] , A=[6,4,0,9,2,6,7,2] , C=0 , 9+9+0=18 , A->8 , C->1
[9,3,8,4,5,6,0,9] + [3,7] , A=[8,6,4,0,9,2,6,7,2] , C=1 , 9+7+1=17 , A->7 , C->1
[9,3,8,4,5,6,0] + [3] , A=[7,8,6,4,0,9,2,6,7,2] , C=1 , 0+3+1=4 , A->4 , C->0
[9,3,8,4,5,6] + [] , A=[4,7,8,6,4,0,9,2,6,7,2] , C=0 , 6+0+0=6 , A->6 , C->0
[9,3,8,4,5] + [] , A=[6,4,7,8,6,4,0,9,2,6,7,2] , C=0 , 5+0+0=5 , A->5 , C->0
[9,3,8,4] + [] , A=[5,6,4,7,8,6,4,0,9,2,6,7,2] , C=0 , 4+0+0=4 , A->4 , C->0
[9,3,8] + [] , A=[4,5,6,4,7,8,6,4,0,9,2,6,7,2] , C=0 , 8+0+0=8 , A->8 , C->0
[9,3] + [] , A=[8,4,5,6,4,7,8,6,4,0,9,2,6,7,2] , C=0 , 3+0+0=3 , A->3 , C->0
[9] + [] , A=[3,8,4,5,6,4,7,8,6,4,0,9,2,6,7,2] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,3,8,4,5,6,4,7,8,6,4,0,9,2,6,7,2] C=0 , END
</scratch>
93845647864092672
| 93845647864092672 | 11 |
Input:
72330078+35665065021134300
Target:
| Input:
72330078+35665065021134300
Target:
[7,2,3,3,0,0,7,8] + [3,5,6,6,5,0,6,5,0,2,1,1,3,4,3,0,0] , A=[] , C=0 , 8+0+0=8 , A->8 , C->0
[7,2,3,3,0,0,7] + [3,5,6,6,5,0,6,5,0,2,1,1,3,4,3,0] , A=[8] , C=0 , 7+0+0=7 , A->7 , C->0
[7,2,3,3,0,0] + [3,5,6,6,5,0,6,5,0,2,1,1,3,4,3] , A=[7,8] , C=0 , 0+3+0=3 , A->3 , C->0
[7,2,3,3,0] + [3,5,6,6,5,0,6,5,0,2,1,1,3,4] , A=[3,7,8] , C=0 , 0+4+0=4 , A->4 , C->0
[7,2,3,3] + [3,5,6,6,5,0,6,5,0,2,1,1,3] , A=[4,3,7,8] , C=0 , 3+3+0=6 , A->6 , C->0
[7,2,3] + [3,5,6,6,5,0,6,5,0,2,1,1] , A=[6,4,3,7,8] , C=0 , 3+1+0=4 , A->4 , C->0
[7,2] + [3,5,6,6,5,0,6,5,0,2,1] , A=[4,6,4,3,7,8] , C=0 , 2+1+0=3 , A->3 , C->0
[7] + [3,5,6,6,5,0,6,5,0,2] , A=[3,4,6,4,3,7,8] , C=0 , 7+2+0=9 , A->9 , C->0
[] + [3,5,6,6,5,0,6,5,0] , A=[9,3,4,6,4,3,7,8] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [3,5,6,6,5,0,6,5] , A=[0,9,3,4,6,4,3,7,8] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [3,5,6,6,5,0,6] , A=[5,0,9,3,4,6,4,3,7,8] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [3,5,6,6,5,0] , A=[6,5,0,9,3,4,6,4,3,7,8] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [3,5,6,6,5] , A=[0,6,5,0,9,3,4,6,4,3,7,8] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [3,5,6,6] , A=[5,0,6,5,0,9,3,4,6,4,3,7,8] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [3,5,6] , A=[6,5,0,6,5,0,9,3,4,6,4,3,7,8] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [3,5] , A=[6,6,5,0,6,5,0,9,3,4,6,4,3,7,8] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [3] , A=[5,6,6,5,0,6,5,0,9,3,4,6,4,3,7,8] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [] , A=[3,5,6,6,5,0,6,5,0,9,3,4,6,4,3,7,8] C=0 , END
</scratch>
35665065093464378
| 35665065093464378 | 8 |
Input:
7553+74448423575193322
Target:
| Input:
7553+74448423575193322
Target:
[7,5,5,3] + [7,4,4,4,8,4,2,3,5,7,5,1,9,3,3,2,2] , A=[] , C=0 , 3+2+0=5 , A->5 , C->0
[7,5,5] + [7,4,4,4,8,4,2,3,5,7,5,1,9,3,3,2] , A=[5] , C=0 , 5+2+0=7 , A->7 , C->0
[7,5] + [7,4,4,4,8,4,2,3,5,7,5,1,9,3,3] , A=[7,5] , C=0 , 5+3+0=8 , A->8 , C->0
[7] + [7,4,4,4,8,4,2,3,5,7,5,1,9,3] , A=[8,7,5] , C=0 , 7+3+0=10 , A->0 , C->1
[] + [7,4,4,4,8,4,2,3,5,7,5,1,9] , A=[0,8,7,5] , C=1 , 0+9+1=10 , A->0 , C->1
[] + [7,4,4,4,8,4,2,3,5,7,5,1] , A=[0,0,8,7,5] , C=1 , 0+1+1=2 , A->2 , C->0
[] + [7,4,4,4,8,4,2,3,5,7,5] , A=[2,0,0,8,7,5] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [7,4,4,4,8,4,2,3,5,7] , A=[5,2,0,0,8,7,5] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [7,4,4,4,8,4,2,3,5] , A=[7,5,2,0,0,8,7,5] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [7,4,4,4,8,4,2,3] , A=[5,7,5,2,0,0,8,7,5] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [7,4,4,4,8,4,2] , A=[3,5,7,5,2,0,0,8,7,5] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [7,4,4,4,8,4] , A=[2,3,5,7,5,2,0,0,8,7,5] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [7,4,4,4,8] , A=[4,2,3,5,7,5,2,0,0,8,7,5] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [7,4,4,4] , A=[8,4,2,3,5,7,5,2,0,0,8,7,5] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [7,4,4] , A=[4,8,4,2,3,5,7,5,2,0,0,8,7,5] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [7,4] , A=[4,4,8,4,2,3,5,7,5,2,0,0,8,7,5] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [7] , A=[4,4,4,8,4,2,3,5,7,5,2,0,0,8,7,5] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,4,4,4,8,4,2,3,5,7,5,2,0,0,8,7,5] C=0 , END
</scratch>
74448423575200875
| 74448423575200875 | 4 |
Input:
3724294880063+32855584671925330
Target:
| Input:
3724294880063+32855584671925330
Target:
[3,7,2,4,2,9,4,8,8,0,0,6,3] + [3,2,8,5,5,5,8,4,6,7,1,9,2,5,3,3,0] , A=[] , C=0 , 3+0+0=3 , A->3 , C->0
[3,7,2,4,2,9,4,8,8,0,0,6] + [3,2,8,5,5,5,8,4,6,7,1,9,2,5,3,3] , A=[3] , C=0 , 6+3+0=9 , A->9 , C->0
[3,7,2,4,2,9,4,8,8,0,0] + [3,2,8,5,5,5,8,4,6,7,1,9,2,5,3] , A=[9,3] , C=0 , 0+3+0=3 , A->3 , C->0
[3,7,2,4,2,9,4,8,8,0] + [3,2,8,5,5,5,8,4,6,7,1,9,2,5] , A=[3,9,3] , C=0 , 0+5+0=5 , A->5 , C->0
[3,7,2,4,2,9,4,8,8] + [3,2,8,5,5,5,8,4,6,7,1,9,2] , A=[5,3,9,3] , C=0 , 8+2+0=10 , A->0 , C->1
[3,7,2,4,2,9,4,8] + [3,2,8,5,5,5,8,4,6,7,1,9] , A=[0,5,3,9,3] , C=1 , 8+9+1=18 , A->8 , C->1
[3,7,2,4,2,9,4] + [3,2,8,5,5,5,8,4,6,7,1] , A=[8,0,5,3,9,3] , C=1 , 4+1+1=6 , A->6 , C->0
[3,7,2,4,2,9] + [3,2,8,5,5,5,8,4,6,7] , A=[6,8,0,5,3,9,3] , C=0 , 9+7+0=16 , A->6 , C->1
[3,7,2,4,2] + [3,2,8,5,5,5,8,4,6] , A=[6,6,8,0,5,3,9,3] , C=1 , 2+6+1=9 , A->9 , C->0
[3,7,2,4] + [3,2,8,5,5,5,8,4] , A=[9,6,6,8,0,5,3,9,3] , C=0 , 4+4+0=8 , A->8 , C->0
[3,7,2] + [3,2,8,5,5,5,8] , A=[8,9,6,6,8,0,5,3,9,3] , C=0 , 2+8+0=10 , A->0 , C->1
[3,7] + [3,2,8,5,5,5] , A=[0,8,9,6,6,8,0,5,3,9,3] , C=1 , 7+5+1=13 , A->3 , C->1
[3] + [3,2,8,5,5] , A=[3,0,8,9,6,6,8,0,5,3,9,3] , C=1 , 3+5+1=9 , A->9 , C->0
[] + [3,2,8,5] , A=[9,3,0,8,9,6,6,8,0,5,3,9,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [3,2,8] , A=[5,9,3,0,8,9,6,6,8,0,5,3,9,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [3,2] , A=[8,5,9,3,0,8,9,6,6,8,0,5,3,9,3] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [3] , A=[2,8,5,9,3,0,8,9,6,6,8,0,5,3,9,3] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [] , A=[3,2,8,5,9,3,0,8,9,6,6,8,0,5,3,9,3] C=0 , END
</scratch>
32859308966805393
| 32859308966805393 | 13 |
Input:
3815187+93813080870340828
Target:
| Input:
3815187+93813080870340828
Target:
[3,8,1,5,1,8,7] + [9,3,8,1,3,0,8,0,8,7,0,3,4,0,8,2,8] , A=[] , C=0 , 7+8+0=15 , A->5 , C->1
[3,8,1,5,1,8] + [9,3,8,1,3,0,8,0,8,7,0,3,4,0,8,2] , A=[5] , C=1 , 8+2+1=11 , A->1 , C->1
[3,8,1,5,1] + [9,3,8,1,3,0,8,0,8,7,0,3,4,0,8] , A=[1,5] , C=1 , 1+8+1=10 , A->0 , C->1
[3,8,1,5] + [9,3,8,1,3,0,8,0,8,7,0,3,4,0] , A=[0,1,5] , C=1 , 5+0+1=6 , A->6 , C->0
[3,8,1] + [9,3,8,1,3,0,8,0,8,7,0,3,4] , A=[6,0,1,5] , C=0 , 1+4+0=5 , A->5 , C->0
[3,8] + [9,3,8,1,3,0,8,0,8,7,0,3] , A=[5,6,0,1,5] , C=0 , 8+3+0=11 , A->1 , C->1
[3] + [9,3,8,1,3,0,8,0,8,7,0] , A=[1,5,6,0,1,5] , C=1 , 3+0+1=4 , A->4 , C->0
[] + [9,3,8,1,3,0,8,0,8,7] , A=[4,1,5,6,0,1,5] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [9,3,8,1,3,0,8,0,8] , A=[7,4,1,5,6,0,1,5] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9,3,8,1,3,0,8,0] , A=[8,7,4,1,5,6,0,1,5] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [9,3,8,1,3,0,8] , A=[0,8,7,4,1,5,6,0,1,5] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9,3,8,1,3,0] , A=[8,0,8,7,4,1,5,6,0,1,5] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [9,3,8,1,3] , A=[0,8,0,8,7,4,1,5,6,0,1,5] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [9,3,8,1] , A=[3,0,8,0,8,7,4,1,5,6,0,1,5] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9,3,8] , A=[1,3,0,8,0,8,7,4,1,5,6,0,1,5] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9,3] , A=[8,1,3,0,8,0,8,7,4,1,5,6,0,1,5] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [9] , A=[3,8,1,3,0,8,0,8,7,4,1,5,6,0,1,5] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,3,8,1,3,0,8,0,8,7,4,1,5,6,0,1,5] C=0 , END
</scratch>
93813080874156015
| 93813080874156015 | 7 |
Input:
28704762669539178+6123
Target:
| Input:
28704762669539178+6123
Target:
[2,8,7,0,4,7,6,2,6,6,9,5,3,9,1,7,8] + [6,1,2,3] , A=[] , C=0 , 8+3+0=11 , A->1 , C->1
[2,8,7,0,4,7,6,2,6,6,9,5,3,9,1,7] + [6,1,2] , A=[1] , C=1 , 7+2+1=10 , A->0 , C->1
[2,8,7,0,4,7,6,2,6,6,9,5,3,9,1] + [6,1] , A=[0,1] , C=1 , 1+1+1=3 , A->3 , C->0
[2,8,7,0,4,7,6,2,6,6,9,5,3,9] + [6] , A=[3,0,1] , C=0 , 9+6+0=15 , A->5 , C->1
[2,8,7,0,4,7,6,2,6,6,9,5,3] + [] , A=[5,3,0,1] , C=1 , 3+0+1=4 , A->4 , C->0
[2,8,7,0,4,7,6,2,6,6,9,5] + [] , A=[4,5,3,0,1] , C=0 , 5+0+0=5 , A->5 , C->0
[2,8,7,0,4,7,6,2,6,6,9] + [] , A=[5,4,5,3,0,1] , C=0 , 9+0+0=9 , A->9 , C->0
[2,8,7,0,4,7,6,2,6,6] + [] , A=[9,5,4,5,3,0,1] , C=0 , 6+0+0=6 , A->6 , C->0
[2,8,7,0,4,7,6,2,6] + [] , A=[6,9,5,4,5,3,0,1] , C=0 , 6+0+0=6 , A->6 , C->0
[2,8,7,0,4,7,6,2] + [] , A=[6,6,9,5,4,5,3,0,1] , C=0 , 2+0+0=2 , A->2 , C->0
[2,8,7,0,4,7,6] + [] , A=[2,6,6,9,5,4,5,3,0,1] , C=0 , 6+0+0=6 , A->6 , C->0
[2,8,7,0,4,7] + [] , A=[6,2,6,6,9,5,4,5,3,0,1] , C=0 , 7+0+0=7 , A->7 , C->0
[2,8,7,0,4] + [] , A=[7,6,2,6,6,9,5,4,5,3,0,1] , C=0 , 4+0+0=4 , A->4 , C->0
[2,8,7,0] + [] , A=[4,7,6,2,6,6,9,5,4,5,3,0,1] , C=0 , 0+0+0=0 , A->0 , C->0
[2,8,7] + [] , A=[0,4,7,6,2,6,6,9,5,4,5,3,0,1] , C=0 , 7+0+0=7 , A->7 , C->0
[2,8] + [] , A=[7,0,4,7,6,2,6,6,9,5,4,5,3,0,1] , C=0 , 8+0+0=8 , A->8 , C->0
[2] + [] , A=[8,7,0,4,7,6,2,6,6,9,5,4,5,3,0,1] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,8,7,0,4,7,6,2,6,6,9,5,4,5,3,0,1] C=0 , END
</scratch>
28704762669545301
| 28704762669545301 | 4 |
Input:
85858563192808357+2414256498192
Target:
| Input:
85858563192808357+2414256498192
Target:
[8,5,8,5,8,5,6,3,1,9,2,8,0,8,3,5,7] + [2,4,1,4,2,5,6,4,9,8,1,9,2] , A=[] , C=0 , 7+2+0=9 , A->9 , C->0
[8,5,8,5,8,5,6,3,1,9,2,8,0,8,3,5] + [2,4,1,4,2,5,6,4,9,8,1,9] , A=[9] , C=0 , 5+9+0=14 , A->4 , C->1
[8,5,8,5,8,5,6,3,1,9,2,8,0,8,3] + [2,4,1,4,2,5,6,4,9,8,1] , A=[4,9] , C=1 , 3+1+1=5 , A->5 , C->0
[8,5,8,5,8,5,6,3,1,9,2,8,0,8] + [2,4,1,4,2,5,6,4,9,8] , A=[5,4,9] , C=0 , 8+8+0=16 , A->6 , C->1
[8,5,8,5,8,5,6,3,1,9,2,8,0] + [2,4,1,4,2,5,6,4,9] , A=[6,5,4,9] , C=1 , 0+9+1=10 , A->0 , C->1
[8,5,8,5,8,5,6,3,1,9,2,8] + [2,4,1,4,2,5,6,4] , A=[0,6,5,4,9] , C=1 , 8+4+1=13 , A->3 , C->1
[8,5,8,5,8,5,6,3,1,9,2] + [2,4,1,4,2,5,6] , A=[3,0,6,5,4,9] , C=1 , 2+6+1=9 , A->9 , C->0
[8,5,8,5,8,5,6,3,1,9] + [2,4,1,4,2,5] , A=[9,3,0,6,5,4,9] , C=0 , 9+5+0=14 , A->4 , C->1
[8,5,8,5,8,5,6,3,1] + [2,4,1,4,2] , A=[4,9,3,0,6,5,4,9] , C=1 , 1+2+1=4 , A->4 , C->0
[8,5,8,5,8,5,6,3] + [2,4,1,4] , A=[4,4,9,3,0,6,5,4,9] , C=0 , 3+4+0=7 , A->7 , C->0
[8,5,8,5,8,5,6] + [2,4,1] , A=[7,4,4,9,3,0,6,5,4,9] , C=0 , 6+1+0=7 , A->7 , C->0
[8,5,8,5,8,5] + [2,4] , A=[7,7,4,4,9,3,0,6,5,4,9] , C=0 , 5+4+0=9 , A->9 , C->0
[8,5,8,5,8] + [2] , A=[9,7,7,4,4,9,3,0,6,5,4,9] , C=0 , 8+2+0=10 , A->0 , C->1
[8,5,8,5] + [] , A=[0,9,7,7,4,4,9,3,0,6,5,4,9] , C=1 , 5+0+1=6 , A->6 , C->0
[8,5,8] + [] , A=[6,0,9,7,7,4,4,9,3,0,6,5,4,9] , C=0 , 8+0+0=8 , A->8 , C->0
[8,5] + [] , A=[8,6,0,9,7,7,4,4,9,3,0,6,5,4,9] , C=0 , 5+0+0=5 , A->5 , C->0
[8] + [] , A=[5,8,6,0,9,7,7,4,4,9,3,0,6,5,4,9] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,5,8,6,0,9,7,7,4,4,9,3,0,6,5,4,9] C=0 , END
</scratch>
85860977449306549
| 85860977449306549 | 13 |
Input:
831831+42722444889436308
Target:
| Input:
831831+42722444889436308
Target:
[8,3,1,8,3,1] + [4,2,7,2,2,4,4,4,8,8,9,4,3,6,3,0,8] , A=[] , C=0 , 1+8+0=9 , A->9 , C->0
[8,3,1,8,3] + [4,2,7,2,2,4,4,4,8,8,9,4,3,6,3,0] , A=[9] , C=0 , 3+0+0=3 , A->3 , C->0
[8,3,1,8] + [4,2,7,2,2,4,4,4,8,8,9,4,3,6,3] , A=[3,9] , C=0 , 8+3+0=11 , A->1 , C->1
[8,3,1] + [4,2,7,2,2,4,4,4,8,8,9,4,3,6] , A=[1,3,9] , C=1 , 1+6+1=8 , A->8 , C->0
[8,3] + [4,2,7,2,2,4,4,4,8,8,9,4,3] , A=[8,1,3,9] , C=0 , 3+3+0=6 , A->6 , C->0
[8] + [4,2,7,2,2,4,4,4,8,8,9,4] , A=[6,8,1,3,9] , C=0 , 8+4+0=12 , A->2 , C->1
[] + [4,2,7,2,2,4,4,4,8,8,9] , A=[2,6,8,1,3,9] , C=1 , 0+9+1=10 , A->0 , C->1
[] + [4,2,7,2,2,4,4,4,8,8] , A=[0,2,6,8,1,3,9] , C=1 , 0+8+1=9 , A->9 , C->0
[] + [4,2,7,2,2,4,4,4,8] , A=[9,0,2,6,8,1,3,9] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [4,2,7,2,2,4,4,4] , A=[8,9,0,2,6,8,1,3,9] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [4,2,7,2,2,4,4] , A=[4,8,9,0,2,6,8,1,3,9] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [4,2,7,2,2,4] , A=[4,4,8,9,0,2,6,8,1,3,9] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [4,2,7,2,2] , A=[4,4,4,8,9,0,2,6,8,1,3,9] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [4,2,7,2] , A=[2,4,4,4,8,9,0,2,6,8,1,3,9] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [4,2,7] , A=[2,2,4,4,4,8,9,0,2,6,8,1,3,9] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [4,2] , A=[7,2,2,4,4,4,8,9,0,2,6,8,1,3,9] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [4] , A=[2,7,2,2,4,4,4,8,9,0,2,6,8,1,3,9] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,2,7,2,2,4,4,4,8,9,0,2,6,8,1,3,9] C=0 , END
</scratch>
42722444890268139
| 42722444890268139 | 6 |
Input:
20697051776490+42681894182719938
Target:
| Input:
20697051776490+42681894182719938
Target:
[2,0,6,9,7,0,5,1,7,7,6,4,9,0] + [4,2,6,8,1,8,9,4,1,8,2,7,1,9,9,3,8] , A=[] , C=0 , 0+8+0=8 , A->8 , C->0
[2,0,6,9,7,0,5,1,7,7,6,4,9] + [4,2,6,8,1,8,9,4,1,8,2,7,1,9,9,3] , A=[8] , C=0 , 9+3+0=12 , A->2 , C->1
[2,0,6,9,7,0,5,1,7,7,6,4] + [4,2,6,8,1,8,9,4,1,8,2,7,1,9,9] , A=[2,8] , C=1 , 4+9+1=14 , A->4 , C->1
[2,0,6,9,7,0,5,1,7,7,6] + [4,2,6,8,1,8,9,4,1,8,2,7,1,9] , A=[4,2,8] , C=1 , 6+9+1=16 , A->6 , C->1
[2,0,6,9,7,0,5,1,7,7] + [4,2,6,8,1,8,9,4,1,8,2,7,1] , A=[6,4,2,8] , C=1 , 7+1+1=9 , A->9 , C->0
[2,0,6,9,7,0,5,1,7] + [4,2,6,8,1,8,9,4,1,8,2,7] , A=[9,6,4,2,8] , C=0 , 7+7+0=14 , A->4 , C->1
[2,0,6,9,7,0,5,1] + [4,2,6,8,1,8,9,4,1,8,2] , A=[4,9,6,4,2,8] , C=1 , 1+2+1=4 , A->4 , C->0
[2,0,6,9,7,0,5] + [4,2,6,8,1,8,9,4,1,8] , A=[4,4,9,6,4,2,8] , C=0 , 5+8+0=13 , A->3 , C->1
[2,0,6,9,7,0] + [4,2,6,8,1,8,9,4,1] , A=[3,4,4,9,6,4,2,8] , C=1 , 0+1+1=2 , A->2 , C->0
[2,0,6,9,7] + [4,2,6,8,1,8,9,4] , A=[2,3,4,4,9,6,4,2,8] , C=0 , 7+4+0=11 , A->1 , C->1
[2,0,6,9] + [4,2,6,8,1,8,9] , A=[1,2,3,4,4,9,6,4,2,8] , C=1 , 9+9+1=19 , A->9 , C->1
[2,0,6] + [4,2,6,8,1,8] , A=[9,1,2,3,4,4,9,6,4,2,8] , C=1 , 6+8+1=15 , A->5 , C->1
[2,0] + [4,2,6,8,1] , A=[5,9,1,2,3,4,4,9,6,4,2,8] , C=1 , 0+1+1=2 , A->2 , C->0
[2] + [4,2,6,8] , A=[2,5,9,1,2,3,4,4,9,6,4,2,8] , C=0 , 2+8+0=10 , A->0 , C->1
[] + [4,2,6] , A=[0,2,5,9,1,2,3,4,4,9,6,4,2,8] , C=1 , 0+6+1=7 , A->7 , C->0
[] + [4,2] , A=[7,0,2,5,9,1,2,3,4,4,9,6,4,2,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [4] , A=[2,7,0,2,5,9,1,2,3,4,4,9,6,4,2,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,2,7,0,2,5,9,1,2,3,4,4,9,6,4,2,8] C=0 , END
</scratch>
42702591234496428
| 42702591234496428 | 14 |
Input:
469+63572654293178247
Target:
| Input:
469+63572654293178247
Target:
[4,6,9] + [6,3,5,7,2,6,5,4,2,9,3,1,7,8,2,4,7] , A=[] , C=0 , 9+7+0=16 , A->6 , C->1
[4,6] + [6,3,5,7,2,6,5,4,2,9,3,1,7,8,2,4] , A=[6] , C=1 , 6+4+1=11 , A->1 , C->1
[4] + [6,3,5,7,2,6,5,4,2,9,3,1,7,8,2] , A=[1,6] , C=1 , 4+2+1=7 , A->7 , C->0
[] + [6,3,5,7,2,6,5,4,2,9,3,1,7,8] , A=[7,1,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [6,3,5,7,2,6,5,4,2,9,3,1,7] , A=[8,7,1,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,3,5,7,2,6,5,4,2,9,3,1] , A=[7,8,7,1,6] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [6,3,5,7,2,6,5,4,2,9,3] , A=[1,7,8,7,1,6] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [6,3,5,7,2,6,5,4,2,9] , A=[3,1,7,8,7,1,6] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [6,3,5,7,2,6,5,4,2] , A=[9,3,1,7,8,7,1,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [6,3,5,7,2,6,5,4] , A=[2,9,3,1,7,8,7,1,6] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6,3,5,7,2,6,5] , A=[4,2,9,3,1,7,8,7,1,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [6,3,5,7,2,6] , A=[5,4,2,9,3,1,7,8,7,1,6] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [6,3,5,7,2] , A=[6,5,4,2,9,3,1,7,8,7,1,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [6,3,5,7] , A=[2,6,5,4,2,9,3,1,7,8,7,1,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,3,5] , A=[7,2,6,5,4,2,9,3,1,7,8,7,1,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [6,3] , A=[5,7,2,6,5,4,2,9,3,1,7,8,7,1,6] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [6] , A=[3,5,7,2,6,5,4,2,9,3,1,7,8,7,1,6] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,3,5,7,2,6,5,4,2,9,3,1,7,8,7,1,6] C=0 , END
</scratch>
63572654293178716
| 63572654293178716 | 3 |
Input:
54006593629+62578998084180977
Target:
| Input:
54006593629+62578998084180977
Target:
[5,4,0,0,6,5,9,3,6,2,9] + [6,2,5,7,8,9,9,8,0,8,4,1,8,0,9,7,7] , A=[] , C=0 , 9+7+0=16 , A->6 , C->1
[5,4,0,0,6,5,9,3,6,2] + [6,2,5,7,8,9,9,8,0,8,4,1,8,0,9,7] , A=[6] , C=1 , 2+7+1=10 , A->0 , C->1
[5,4,0,0,6,5,9,3,6] + [6,2,5,7,8,9,9,8,0,8,4,1,8,0,9] , A=[0,6] , C=1 , 6+9+1=16 , A->6 , C->1
[5,4,0,0,6,5,9,3] + [6,2,5,7,8,9,9,8,0,8,4,1,8,0] , A=[6,0,6] , C=1 , 3+0+1=4 , A->4 , C->0
[5,4,0,0,6,5,9] + [6,2,5,7,8,9,9,8,0,8,4,1,8] , A=[4,6,0,6] , C=0 , 9+8+0=17 , A->7 , C->1
[5,4,0,0,6,5] + [6,2,5,7,8,9,9,8,0,8,4,1] , A=[7,4,6,0,6] , C=1 , 5+1+1=7 , A->7 , C->0
[5,4,0,0,6] + [6,2,5,7,8,9,9,8,0,8,4] , A=[7,7,4,6,0,6] , C=0 , 6+4+0=10 , A->0 , C->1
[5,4,0,0] + [6,2,5,7,8,9,9,8,0,8] , A=[0,7,7,4,6,0,6] , C=1 , 0+8+1=9 , A->9 , C->0
[5,4,0] + [6,2,5,7,8,9,9,8,0] , A=[9,0,7,7,4,6,0,6] , C=0 , 0+0+0=0 , A->0 , C->0
[5,4] + [6,2,5,7,8,9,9,8] , A=[0,9,0,7,7,4,6,0,6] , C=0 , 4+8+0=12 , A->2 , C->1
[5] + [6,2,5,7,8,9,9] , A=[2,0,9,0,7,7,4,6,0,6] , C=1 , 5+9+1=15 , A->5 , C->1
[] + [6,2,5,7,8,9] , A=[5,2,0,9,0,7,7,4,6,0,6] , C=1 , 0+9+1=10 , A->0 , C->1
[] + [6,2,5,7,8] , A=[0,5,2,0,9,0,7,7,4,6,0,6] , C=1 , 0+8+1=9 , A->9 , C->0
[] + [6,2,5,7] , A=[9,0,5,2,0,9,0,7,7,4,6,0,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,2,5] , A=[7,9,0,5,2,0,9,0,7,7,4,6,0,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [6,2] , A=[5,7,9,0,5,2,0,9,0,7,7,4,6,0,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [6] , A=[2,5,7,9,0,5,2,0,9,0,7,7,4,6,0,6] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,2,5,7,9,0,5,2,0,9,0,7,7,4,6,0,6] C=0 , END
</scratch>
62579052090774606
| 62579052090774606 | 11 |
Input:
51121852056688250+433617091490
Target:
| Input:
51121852056688250+433617091490
Target:
[5,1,1,2,1,8,5,2,0,5,6,6,8,8,2,5,0] + [4,3,3,6,1,7,0,9,1,4,9,0] , A=[] , C=0 , 0+0+0=0 , A->0 , C->0
[5,1,1,2,1,8,5,2,0,5,6,6,8,8,2,5] + [4,3,3,6,1,7,0,9,1,4,9] , A=[0] , C=0 , 5+9+0=14 , A->4 , C->1
[5,1,1,2,1,8,5,2,0,5,6,6,8,8,2] + [4,3,3,6,1,7,0,9,1,4] , A=[4,0] , C=1 , 2+4+1=7 , A->7 , C->0
[5,1,1,2,1,8,5,2,0,5,6,6,8,8] + [4,3,3,6,1,7,0,9,1] , A=[7,4,0] , C=0 , 8+1+0=9 , A->9 , C->0
[5,1,1,2,1,8,5,2,0,5,6,6,8] + [4,3,3,6,1,7,0,9] , A=[9,7,4,0] , C=0 , 8+9+0=17 , A->7 , C->1
[5,1,1,2,1,8,5,2,0,5,6,6] + [4,3,3,6,1,7,0] , A=[7,9,7,4,0] , C=1 , 6+0+1=7 , A->7 , C->0
[5,1,1,2,1,8,5,2,0,5,6] + [4,3,3,6,1,7] , A=[7,7,9,7,4,0] , C=0 , 6+7+0=13 , A->3 , C->1
[5,1,1,2,1,8,5,2,0,5] + [4,3,3,6,1] , A=[3,7,7,9,7,4,0] , C=1 , 5+1+1=7 , A->7 , C->0
[5,1,1,2,1,8,5,2,0] + [4,3,3,6] , A=[7,3,7,7,9,7,4,0] , C=0 , 0+6+0=6 , A->6 , C->0
[5,1,1,2,1,8,5,2] + [4,3,3] , A=[6,7,3,7,7,9,7,4,0] , C=0 , 2+3+0=5 , A->5 , C->0
[5,1,1,2,1,8,5] + [4,3] , A=[5,6,7,3,7,7,9,7,4,0] , C=0 , 5+3+0=8 , A->8 , C->0
[5,1,1,2,1,8] + [4] , A=[8,5,6,7,3,7,7,9,7,4,0] , C=0 , 8+4+0=12 , A->2 , C->1
[5,1,1,2,1] + [] , A=[2,8,5,6,7,3,7,7,9,7,4,0] , C=1 , 1+0+1=2 , A->2 , C->0
[5,1,1,2] + [] , A=[2,2,8,5,6,7,3,7,7,9,7,4,0] , C=0 , 2+0+0=2 , A->2 , C->0
[5,1,1] + [] , A=[2,2,2,8,5,6,7,3,7,7,9,7,4,0] , C=0 , 1+0+0=1 , A->1 , C->0
[5,1] + [] , A=[1,2,2,2,8,5,6,7,3,7,7,9,7,4,0] , C=0 , 1+0+0=1 , A->1 , C->0
[5] + [] , A=[1,1,2,2,2,8,5,6,7,3,7,7,9,7,4,0] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,1,1,2,2,2,8,5,6,7,3,7,7,9,7,4,0] C=0 , END
</scratch>
51122285673779740
| 51122285673779740 | 12 |
Input:
24733982297259950+231587096020624
Target:
| Input:
24733982297259950+231587096020624
Target:
[2,4,7,3,3,9,8,2,2,9,7,2,5,9,9,5,0] + [2,3,1,5,8,7,0,9,6,0,2,0,6,2,4] , A=[] , C=0 , 0+4+0=4 , A->4 , C->0
[2,4,7,3,3,9,8,2,2,9,7,2,5,9,9,5] + [2,3,1,5,8,7,0,9,6,0,2,0,6,2] , A=[4] , C=0 , 5+2+0=7 , A->7 , C->0
[2,4,7,3,3,9,8,2,2,9,7,2,5,9,9] + [2,3,1,5,8,7,0,9,6,0,2,0,6] , A=[7,4] , C=0 , 9+6+0=15 , A->5 , C->1
[2,4,7,3,3,9,8,2,2,9,7,2,5,9] + [2,3,1,5,8,7,0,9,6,0,2,0] , A=[5,7,4] , C=1 , 9+0+1=10 , A->0 , C->1
[2,4,7,3,3,9,8,2,2,9,7,2,5] + [2,3,1,5,8,7,0,9,6,0,2] , A=[0,5,7,4] , C=1 , 5+2+1=8 , A->8 , C->0
[2,4,7,3,3,9,8,2,2,9,7,2] + [2,3,1,5,8,7,0,9,6,0] , A=[8,0,5,7,4] , C=0 , 2+0+0=2 , A->2 , C->0
[2,4,7,3,3,9,8,2,2,9,7] + [2,3,1,5,8,7,0,9,6] , A=[2,8,0,5,7,4] , C=0 , 7+6+0=13 , A->3 , C->1
[2,4,7,3,3,9,8,2,2,9] + [2,3,1,5,8,7,0,9] , A=[3,2,8,0,5,7,4] , C=1 , 9+9+1=19 , A->9 , C->1
[2,4,7,3,3,9,8,2,2] + [2,3,1,5,8,7,0] , A=[9,3,2,8,0,5,7,4] , C=1 , 2+0+1=3 , A->3 , C->0
[2,4,7,3,3,9,8,2] + [2,3,1,5,8,7] , A=[3,9,3,2,8,0,5,7,4] , C=0 , 2+7+0=9 , A->9 , C->0
[2,4,7,3,3,9,8] + [2,3,1,5,8] , A=[9,3,9,3,2,8,0,5,7,4] , C=0 , 8+8+0=16 , A->6 , C->1
[2,4,7,3,3,9] + [2,3,1,5] , A=[6,9,3,9,3,2,8,0,5,7,4] , C=1 , 9+5+1=15 , A->5 , C->1
[2,4,7,3,3] + [2,3,1] , A=[5,6,9,3,9,3,2,8,0,5,7,4] , C=1 , 3+1+1=5 , A->5 , C->0
[2,4,7,3] + [2,3] , A=[5,5,6,9,3,9,3,2,8,0,5,7,4] , C=0 , 3+3+0=6 , A->6 , C->0
[2,4,7] + [2] , A=[6,5,5,6,9,3,9,3,2,8,0,5,7,4] , C=0 , 7+2+0=9 , A->9 , C->0
[2,4] + [] , A=[9,6,5,5,6,9,3,9,3,2,8,0,5,7,4] , C=0 , 4+0+0=4 , A->4 , C->0
[2] + [] , A=[4,9,6,5,5,6,9,3,9,3,2,8,0,5,7,4] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,4,9,6,5,5,6,9,3,9,3,2,8,0,5,7,4] C=0 , END
</scratch>
24965569393280574
| 24965569393280574 | 15 |
Input:
9694844095870+15365236782038190
Target:
| Input:
9694844095870+15365236782038190
Target:
[9,6,9,4,8,4,4,0,9,5,8,7,0] + [1,5,3,6,5,2,3,6,7,8,2,0,3,8,1,9,0] , A=[] , C=0 , 0+0+0=0 , A->0 , C->0
[9,6,9,4,8,4,4,0,9,5,8,7] + [1,5,3,6,5,2,3,6,7,8,2,0,3,8,1,9] , A=[0] , C=0 , 7+9+0=16 , A->6 , C->1
[9,6,9,4,8,4,4,0,9,5,8] + [1,5,3,6,5,2,3,6,7,8,2,0,3,8,1] , A=[6,0] , C=1 , 8+1+1=10 , A->0 , C->1
[9,6,9,4,8,4,4,0,9,5] + [1,5,3,6,5,2,3,6,7,8,2,0,3,8] , A=[0,6,0] , C=1 , 5+8+1=14 , A->4 , C->1
[9,6,9,4,8,4,4,0,9] + [1,5,3,6,5,2,3,6,7,8,2,0,3] , A=[4,0,6,0] , C=1 , 9+3+1=13 , A->3 , C->1
[9,6,9,4,8,4,4,0] + [1,5,3,6,5,2,3,6,7,8,2,0] , A=[3,4,0,6,0] , C=1 , 0+0+1=1 , A->1 , C->0
[9,6,9,4,8,4,4] + [1,5,3,6,5,2,3,6,7,8,2] , A=[1,3,4,0,6,0] , C=0 , 4+2+0=6 , A->6 , C->0
[9,6,9,4,8,4] + [1,5,3,6,5,2,3,6,7,8] , A=[6,1,3,4,0,6,0] , C=0 , 4+8+0=12 , A->2 , C->1
[9,6,9,4,8] + [1,5,3,6,5,2,3,6,7] , A=[2,6,1,3,4,0,6,0] , C=1 , 8+7+1=16 , A->6 , C->1
[9,6,9,4] + [1,5,3,6,5,2,3,6] , A=[6,2,6,1,3,4,0,6,0] , C=1 , 4+6+1=11 , A->1 , C->1
[9,6,9] + [1,5,3,6,5,2,3] , A=[1,6,2,6,1,3,4,0,6,0] , C=1 , 9+3+1=13 , A->3 , C->1
[9,6] + [1,5,3,6,5,2] , A=[3,1,6,2,6,1,3,4,0,6,0] , C=1 , 6+2+1=9 , A->9 , C->0
[9] + [1,5,3,6,5] , A=[9,3,1,6,2,6,1,3,4,0,6,0] , C=0 , 9+5+0=14 , A->4 , C->1
[] + [1,5,3,6] , A=[4,9,3,1,6,2,6,1,3,4,0,6,0] , C=1 , 0+6+1=7 , A->7 , C->0
[] + [1,5,3] , A=[7,4,9,3,1,6,2,6,1,3,4,0,6,0] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1,5] , A=[3,7,4,9,3,1,6,2,6,1,3,4,0,6,0] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1] , A=[5,3,7,4,9,3,1,6,2,6,1,3,4,0,6,0] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,5,3,7,4,9,3,1,6,2,6,1,3,4,0,6,0] C=0 , END
</scratch>
15374931626134060
| 15374931626134060 | 13 |
Input:
89781+92002590682008591
Target:
| Input:
89781+92002590682008591
Target:
[8,9,7,8,1] + [9,2,0,0,2,5,9,0,6,8,2,0,0,8,5,9,1] , A=[] , C=0 , 1+1+0=2 , A->2 , C->0
[8,9,7,8] + [9,2,0,0,2,5,9,0,6,8,2,0,0,8,5,9] , A=[2] , C=0 , 8+9+0=17 , A->7 , C->1
[8,9,7] + [9,2,0,0,2,5,9,0,6,8,2,0,0,8,5] , A=[7,2] , C=1 , 7+5+1=13 , A->3 , C->1
[8,9] + [9,2,0,0,2,5,9,0,6,8,2,0,0,8] , A=[3,7,2] , C=1 , 9+8+1=18 , A->8 , C->1
[8] + [9,2,0,0,2,5,9,0,6,8,2,0,0] , A=[8,3,7,2] , C=1 , 8+0+1=9 , A->9 , C->0
[] + [9,2,0,0,2,5,9,0,6,8,2,0] , A=[9,8,3,7,2] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [9,2,0,0,2,5,9,0,6,8,2] , A=[0,9,8,3,7,2] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,2,0,0,2,5,9,0,6,8] , A=[2,0,9,8,3,7,2] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9,2,0,0,2,5,9,0,6] , A=[8,2,0,9,8,3,7,2] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [9,2,0,0,2,5,9,0] , A=[6,8,2,0,9,8,3,7,2] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [9,2,0,0,2,5,9] , A=[0,6,8,2,0,9,8,3,7,2] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [9,2,0,0,2,5] , A=[9,0,6,8,2,0,9,8,3,7,2] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,2,0,0,2] , A=[5,9,0,6,8,2,0,9,8,3,7,2] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,2,0,0] , A=[2,5,9,0,6,8,2,0,9,8,3,7,2] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [9,2,0] , A=[0,2,5,9,0,6,8,2,0,9,8,3,7,2] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [9,2] , A=[0,0,2,5,9,0,6,8,2,0,9,8,3,7,2] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9] , A=[2,0,0,2,5,9,0,6,8,2,0,9,8,3,7,2] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,2,0,0,2,5,9,0,6,8,2,0,9,8,3,7,2] C=0 , END
</scratch>
92002590682098372
| 92002590682098372 | 5 |
Input:
909103680+49017442744340844
Target:
| Input:
909103680+49017442744340844
Target:
[9,0,9,1,0,3,6,8,0] + [4,9,0,1,7,4,4,2,7,4,4,3,4,0,8,4,4] , A=[] , C=0 , 0+4+0=4 , A->4 , C->0
[9,0,9,1,0,3,6,8] + [4,9,0,1,7,4,4,2,7,4,4,3,4,0,8,4] , A=[4] , C=0 , 8+4+0=12 , A->2 , C->1
[9,0,9,1,0,3,6] + [4,9,0,1,7,4,4,2,7,4,4,3,4,0,8] , A=[2,4] , C=1 , 6+8+1=15 , A->5 , C->1
[9,0,9,1,0,3] + [4,9,0,1,7,4,4,2,7,4,4,3,4,0] , A=[5,2,4] , C=1 , 3+0+1=4 , A->4 , C->0
[9,0,9,1,0] + [4,9,0,1,7,4,4,2,7,4,4,3,4] , A=[4,5,2,4] , C=0 , 0+4+0=4 , A->4 , C->0
[9,0,9,1] + [4,9,0,1,7,4,4,2,7,4,4,3] , A=[4,4,5,2,4] , C=0 , 1+3+0=4 , A->4 , C->0
[9,0,9] + [4,9,0,1,7,4,4,2,7,4,4] , A=[4,4,4,5,2,4] , C=0 , 9+4+0=13 , A->3 , C->1
[9,0] + [4,9,0,1,7,4,4,2,7,4] , A=[3,4,4,4,5,2,4] , C=1 , 0+4+1=5 , A->5 , C->0
[9] + [4,9,0,1,7,4,4,2,7] , A=[5,3,4,4,4,5,2,4] , C=0 , 9+7+0=16 , A->6 , C->1
[] + [4,9,0,1,7,4,4,2] , A=[6,5,3,4,4,4,5,2,4] , C=1 , 0+2+1=3 , A->3 , C->0
[] + [4,9,0,1,7,4,4] , A=[3,6,5,3,4,4,4,5,2,4] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [4,9,0,1,7,4] , A=[4,3,6,5,3,4,4,4,5,2,4] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [4,9,0,1,7] , A=[4,4,3,6,5,3,4,4,4,5,2,4] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [4,9,0,1] , A=[7,4,4,3,6,5,3,4,4,4,5,2,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [4,9,0] , A=[1,7,4,4,3,6,5,3,4,4,4,5,2,4] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [4,9] , A=[0,1,7,4,4,3,6,5,3,4,4,4,5,2,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [4] , A=[9,0,1,7,4,4,3,6,5,3,4,4,4,5,2,4] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,9,0,1,7,4,4,3,6,5,3,4,4,4,5,2,4] C=0 , END
</scratch>
49017443653444524
| 49017443653444524 | 9 |
Input:
16888470164779612+8961295313424
Target:
| Input:
16888470164779612+8961295313424
Target:
[1,6,8,8,8,4,7,0,1,6,4,7,7,9,6,1,2] + [8,9,6,1,2,9,5,3,1,3,4,2,4] , A=[] , C=0 , 2+4+0=6 , A->6 , C->0
[1,6,8,8,8,4,7,0,1,6,4,7,7,9,6,1] + [8,9,6,1,2,9,5,3,1,3,4,2] , A=[6] , C=0 , 1+2+0=3 , A->3 , C->0
[1,6,8,8,8,4,7,0,1,6,4,7,7,9,6] + [8,9,6,1,2,9,5,3,1,3,4] , A=[3,6] , C=0 , 6+4+0=10 , A->0 , C->1
[1,6,8,8,8,4,7,0,1,6,4,7,7,9] + [8,9,6,1,2,9,5,3,1,3] , A=[0,3,6] , C=1 , 9+3+1=13 , A->3 , C->1
[1,6,8,8,8,4,7,0,1,6,4,7,7] + [8,9,6,1,2,9,5,3,1] , A=[3,0,3,6] , C=1 , 7+1+1=9 , A->9 , C->0
[1,6,8,8,8,4,7,0,1,6,4,7] + [8,9,6,1,2,9,5,3] , A=[9,3,0,3,6] , C=0 , 7+3+0=10 , A->0 , C->1
[1,6,8,8,8,4,7,0,1,6,4] + [8,9,6,1,2,9,5] , A=[0,9,3,0,3,6] , C=1 , 4+5+1=10 , A->0 , C->1
[1,6,8,8,8,4,7,0,1,6] + [8,9,6,1,2,9] , A=[0,0,9,3,0,3,6] , C=1 , 6+9+1=16 , A->6 , C->1
[1,6,8,8,8,4,7,0,1] + [8,9,6,1,2] , A=[6,0,0,9,3,0,3,6] , C=1 , 1+2+1=4 , A->4 , C->0
[1,6,8,8,8,4,7,0] + [8,9,6,1] , A=[4,6,0,0,9,3,0,3,6] , C=0 , 0+1+0=1 , A->1 , C->0
[1,6,8,8,8,4,7] + [8,9,6] , A=[1,4,6,0,0,9,3,0,3,6] , C=0 , 7+6+0=13 , A->3 , C->1
[1,6,8,8,8,4] + [8,9] , A=[3,1,4,6,0,0,9,3,0,3,6] , C=1 , 4+9+1=14 , A->4 , C->1
[1,6,8,8,8] + [8] , A=[4,3,1,4,6,0,0,9,3,0,3,6] , C=1 , 8+8+1=17 , A->7 , C->1
[1,6,8,8] + [] , A=[7,4,3,1,4,6,0,0,9,3,0,3,6] , C=1 , 8+0+1=9 , A->9 , C->0
[1,6,8] + [] , A=[9,7,4,3,1,4,6,0,0,9,3,0,3,6] , C=0 , 8+0+0=8 , A->8 , C->0
[1,6] + [] , A=[8,9,7,4,3,1,4,6,0,0,9,3,0,3,6] , C=0 , 6+0+0=6 , A->6 , C->0
[1] + [] , A=[6,8,9,7,4,3,1,4,6,0,0,9,3,0,3,6] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,6,8,9,7,4,3,1,4,6,0,0,9,3,0,3,6] C=0 , END
</scratch>
16897431460093036
| 16897431460093036 | 13 |
Input:
96614692858703189+6013692761
Target:
| Input:
96614692858703189+6013692761
Target:
[9,6,6,1,4,6,9,2,8,5,8,7,0,3,1,8,9] + [6,0,1,3,6,9,2,7,6,1] , A=[] , C=0 , 9+1+0=10 , A->0 , C->1
[9,6,6,1,4,6,9,2,8,5,8,7,0,3,1,8] + [6,0,1,3,6,9,2,7,6] , A=[0] , C=1 , 8+6+1=15 , A->5 , C->1
[9,6,6,1,4,6,9,2,8,5,8,7,0,3,1] + [6,0,1,3,6,9,2,7] , A=[5,0] , C=1 , 1+7+1=9 , A->9 , C->0
[9,6,6,1,4,6,9,2,8,5,8,7,0,3] + [6,0,1,3,6,9,2] , A=[9,5,0] , C=0 , 3+2+0=5 , A->5 , C->0
[9,6,6,1,4,6,9,2,8,5,8,7,0] + [6,0,1,3,6,9] , A=[5,9,5,0] , C=0 , 0+9+0=9 , A->9 , C->0
[9,6,6,1,4,6,9,2,8,5,8,7] + [6,0,1,3,6] , A=[9,5,9,5,0] , C=0 , 7+6+0=13 , A->3 , C->1
[9,6,6,1,4,6,9,2,8,5,8] + [6,0,1,3] , A=[3,9,5,9,5,0] , C=1 , 8+3+1=12 , A->2 , C->1
[9,6,6,1,4,6,9,2,8,5] + [6,0,1] , A=[2,3,9,5,9,5,0] , C=1 , 5+1+1=7 , A->7 , C->0
[9,6,6,1,4,6,9,2,8] + [6,0] , A=[7,2,3,9,5,9,5,0] , C=0 , 8+0+0=8 , A->8 , C->0
[9,6,6,1,4,6,9,2] + [6] , A=[8,7,2,3,9,5,9,5,0] , C=0 , 2+6+0=8 , A->8 , C->0
[9,6,6,1,4,6,9] + [] , A=[8,8,7,2,3,9,5,9,5,0] , C=0 , 9+0+0=9 , A->9 , C->0
[9,6,6,1,4,6] + [] , A=[9,8,8,7,2,3,9,5,9,5,0] , C=0 , 6+0+0=6 , A->6 , C->0
[9,6,6,1,4] + [] , A=[6,9,8,8,7,2,3,9,5,9,5,0] , C=0 , 4+0+0=4 , A->4 , C->0
[9,6,6,1] + [] , A=[4,6,9,8,8,7,2,3,9,5,9,5,0] , C=0 , 1+0+0=1 , A->1 , C->0
[9,6,6] + [] , A=[1,4,6,9,8,8,7,2,3,9,5,9,5,0] , C=0 , 6+0+0=6 , A->6 , C->0
[9,6] + [] , A=[6,1,4,6,9,8,8,7,2,3,9,5,9,5,0] , C=0 , 6+0+0=6 , A->6 , C->0
[9] + [] , A=[6,6,1,4,6,9,8,8,7,2,3,9,5,9,5,0] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,6,6,1,4,6,9,8,8,7,2,3,9,5,9,5,0] C=0 , END
</scratch>
96614698872395950
| 96614698872395950 | 10 |
Input:
46035+76300041526029975
Target:
| Input:
46035+76300041526029975
Target:
[4,6,0,3,5] + [7,6,3,0,0,0,4,1,5,2,6,0,2,9,9,7,5] , A=[] , C=0 , 5+5+0=10 , A->0 , C->1
[4,6,0,3] + [7,6,3,0,0,0,4,1,5,2,6,0,2,9,9,7] , A=[0] , C=1 , 3+7+1=11 , A->1 , C->1
[4,6,0] + [7,6,3,0,0,0,4,1,5,2,6,0,2,9,9] , A=[1,0] , C=1 , 0+9+1=10 , A->0 , C->1
[4,6] + [7,6,3,0,0,0,4,1,5,2,6,0,2,9] , A=[0,1,0] , C=1 , 6+9+1=16 , A->6 , C->1
[4] + [7,6,3,0,0,0,4,1,5,2,6,0,2] , A=[6,0,1,0] , C=1 , 4+2+1=7 , A->7 , C->0
[] + [7,6,3,0,0,0,4,1,5,2,6,0] , A=[7,6,0,1,0] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7,6,3,0,0,0,4,1,5,2,6] , A=[0,7,6,0,1,0] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [7,6,3,0,0,0,4,1,5,2] , A=[6,0,7,6,0,1,0] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [7,6,3,0,0,0,4,1,5] , A=[2,6,0,7,6,0,1,0] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [7,6,3,0,0,0,4,1] , A=[5,2,6,0,7,6,0,1,0] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [7,6,3,0,0,0,4] , A=[1,5,2,6,0,7,6,0,1,0] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [7,6,3,0,0,0] , A=[4,1,5,2,6,0,7,6,0,1,0] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7,6,3,0,0] , A=[0,4,1,5,2,6,0,7,6,0,1,0] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7,6,3,0] , A=[0,0,4,1,5,2,6,0,7,6,0,1,0] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7,6,3] , A=[0,0,0,4,1,5,2,6,0,7,6,0,1,0] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [7,6] , A=[3,0,0,0,4,1,5,2,6,0,7,6,0,1,0] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [7] , A=[6,3,0,0,0,4,1,5,2,6,0,7,6,0,1,0] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,6,3,0,0,0,4,1,5,2,6,0,7,6,0,1,0] C=0 , END
</scratch>
76300041526076010
| 76300041526076010 | 5 |
Input:
5827895999+18742760223175424
Target:
| Input:
5827895999+18742760223175424
Target:
[5,8,2,7,8,9,5,9,9,9] + [1,8,7,4,2,7,6,0,2,2,3,1,7,5,4,2,4] , A=[] , C=0 , 9+4+0=13 , A->3 , C->1
[5,8,2,7,8,9,5,9,9] + [1,8,7,4,2,7,6,0,2,2,3,1,7,5,4,2] , A=[3] , C=1 , 9+2+1=12 , A->2 , C->1
[5,8,2,7,8,9,5,9] + [1,8,7,4,2,7,6,0,2,2,3,1,7,5,4] , A=[2,3] , C=1 , 9+4+1=14 , A->4 , C->1
[5,8,2,7,8,9,5] + [1,8,7,4,2,7,6,0,2,2,3,1,7,5] , A=[4,2,3] , C=1 , 5+5+1=11 , A->1 , C->1
[5,8,2,7,8,9] + [1,8,7,4,2,7,6,0,2,2,3,1,7] , A=[1,4,2,3] , C=1 , 9+7+1=17 , A->7 , C->1
[5,8,2,7,8] + [1,8,7,4,2,7,6,0,2,2,3,1] , A=[7,1,4,2,3] , C=1 , 8+1+1=10 , A->0 , C->1
[5,8,2,7] + [1,8,7,4,2,7,6,0,2,2,3] , A=[0,7,1,4,2,3] , C=1 , 7+3+1=11 , A->1 , C->1
[5,8,2] + [1,8,7,4,2,7,6,0,2,2] , A=[1,0,7,1,4,2,3] , C=1 , 2+2+1=5 , A->5 , C->0
[5,8] + [1,8,7,4,2,7,6,0,2] , A=[5,1,0,7,1,4,2,3] , C=0 , 8+2+0=10 , A->0 , C->1
[5] + [1,8,7,4,2,7,6,0] , A=[0,5,1,0,7,1,4,2,3] , C=1 , 5+0+1=6 , A->6 , C->0
[] + [1,8,7,4,2,7,6] , A=[6,0,5,1,0,7,1,4,2,3] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [1,8,7,4,2,7] , A=[6,6,0,5,1,0,7,1,4,2,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [1,8,7,4,2] , A=[7,6,6,0,5,1,0,7,1,4,2,3] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [1,8,7,4] , A=[2,7,6,6,0,5,1,0,7,1,4,2,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1,8,7] , A=[4,2,7,6,6,0,5,1,0,7,1,4,2,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [1,8] , A=[7,4,2,7,6,6,0,5,1,0,7,1,4,2,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [1] , A=[8,7,4,2,7,6,6,0,5,1,0,7,1,4,2,3] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,8,7,4,2,7,6,6,0,5,1,0,7,1,4,2,3] C=0 , END
</scratch>
18742766051071423
| 18742766051071423 | 10 |
Input:
24530161341230912+104270367695192
Target:
| Input:
24530161341230912+104270367695192
Target:
[2,4,5,3,0,1,6,1,3,4,1,2,3,0,9,1,2] + [1,0,4,2,7,0,3,6,7,6,9,5,1,9,2] , A=[] , C=0 , 2+2+0=4 , A->4 , C->0
[2,4,5,3,0,1,6,1,3,4,1,2,3,0,9,1] + [1,0,4,2,7,0,3,6,7,6,9,5,1,9] , A=[4] , C=0 , 1+9+0=10 , A->0 , C->1
[2,4,5,3,0,1,6,1,3,4,1,2,3,0,9] + [1,0,4,2,7,0,3,6,7,6,9,5,1] , A=[0,4] , C=1 , 9+1+1=11 , A->1 , C->1
[2,4,5,3,0,1,6,1,3,4,1,2,3,0] + [1,0,4,2,7,0,3,6,7,6,9,5] , A=[1,0,4] , C=1 , 0+5+1=6 , A->6 , C->0
[2,4,5,3,0,1,6,1,3,4,1,2,3] + [1,0,4,2,7,0,3,6,7,6,9] , A=[6,1,0,4] , C=0 , 3+9+0=12 , A->2 , C->1
[2,4,5,3,0,1,6,1,3,4,1,2] + [1,0,4,2,7,0,3,6,7,6] , A=[2,6,1,0,4] , C=1 , 2+6+1=9 , A->9 , C->0
[2,4,5,3,0,1,6,1,3,4,1] + [1,0,4,2,7,0,3,6,7] , A=[9,2,6,1,0,4] , C=0 , 1+7+0=8 , A->8 , C->0
[2,4,5,3,0,1,6,1,3,4] + [1,0,4,2,7,0,3,6] , A=[8,9,2,6,1,0,4] , C=0 , 4+6+0=10 , A->0 , C->1
[2,4,5,3,0,1,6,1,3] + [1,0,4,2,7,0,3] , A=[0,8,9,2,6,1,0,4] , C=1 , 3+3+1=7 , A->7 , C->0
[2,4,5,3,0,1,6,1] + [1,0,4,2,7,0] , A=[7,0,8,9,2,6,1,0,4] , C=0 , 1+0+0=1 , A->1 , C->0
[2,4,5,3,0,1,6] + [1,0,4,2,7] , A=[1,7,0,8,9,2,6,1,0,4] , C=0 , 6+7+0=13 , A->3 , C->1
[2,4,5,3,0,1] + [1,0,4,2] , A=[3,1,7,0,8,9,2,6,1,0,4] , C=1 , 1+2+1=4 , A->4 , C->0
[2,4,5,3,0] + [1,0,4] , A=[4,3,1,7,0,8,9,2,6,1,0,4] , C=0 , 0+4+0=4 , A->4 , C->0
[2,4,5,3] + [1,0] , A=[4,4,3,1,7,0,8,9,2,6,1,0,4] , C=0 , 3+0+0=3 , A->3 , C->0
[2,4,5] + [1] , A=[3,4,4,3,1,7,0,8,9,2,6,1,0,4] , C=0 , 5+1+0=6 , A->6 , C->0
[2,4] + [] , A=[6,3,4,4,3,1,7,0,8,9,2,6,1,0,4] , C=0 , 4+0+0=4 , A->4 , C->0
[2] + [] , A=[4,6,3,4,4,3,1,7,0,8,9,2,6,1,0,4] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,4,6,3,4,4,3,1,7,0,8,9,2,6,1,0,4] C=0 , END
</scratch>
24634431708926104
| 24634431708926104 | 15 |
Input:
79081884701561336+9714297825
Target:
| Input:
79081884701561336+9714297825
Target:
[7,9,0,8,1,8,8,4,7,0,1,5,6,1,3,3,6] + [9,7,1,4,2,9,7,8,2,5] , A=[] , C=0 , 6+5+0=11 , A->1 , C->1
[7,9,0,8,1,8,8,4,7,0,1,5,6,1,3,3] + [9,7,1,4,2,9,7,8,2] , A=[1] , C=1 , 3+2+1=6 , A->6 , C->0
[7,9,0,8,1,8,8,4,7,0,1,5,6,1,3] + [9,7,1,4,2,9,7,8] , A=[6,1] , C=0 , 3+8+0=11 , A->1 , C->1
[7,9,0,8,1,8,8,4,7,0,1,5,6,1] + [9,7,1,4,2,9,7] , A=[1,6,1] , C=1 , 1+7+1=9 , A->9 , C->0
[7,9,0,8,1,8,8,4,7,0,1,5,6] + [9,7,1,4,2,9] , A=[9,1,6,1] , C=0 , 6+9+0=15 , A->5 , C->1
[7,9,0,8,1,8,8,4,7,0,1,5] + [9,7,1,4,2] , A=[5,9,1,6,1] , C=1 , 5+2+1=8 , A->8 , C->0
[7,9,0,8,1,8,8,4,7,0,1] + [9,7,1,4] , A=[8,5,9,1,6,1] , C=0 , 1+4+0=5 , A->5 , C->0
[7,9,0,8,1,8,8,4,7,0] + [9,7,1] , A=[5,8,5,9,1,6,1] , C=0 , 0+1+0=1 , A->1 , C->0
[7,9,0,8,1,8,8,4,7] + [9,7] , A=[1,5,8,5,9,1,6,1] , C=0 , 7+7+0=14 , A->4 , C->1
[7,9,0,8,1,8,8,4] + [9] , A=[4,1,5,8,5,9,1,6,1] , C=1 , 4+9+1=14 , A->4 , C->1
[7,9,0,8,1,8,8] + [] , A=[4,4,1,5,8,5,9,1,6,1] , C=1 , 8+0+1=9 , A->9 , C->0
[7,9,0,8,1,8] + [] , A=[9,4,4,1,5,8,5,9,1,6,1] , C=0 , 8+0+0=8 , A->8 , C->0
[7,9,0,8,1] + [] , A=[8,9,4,4,1,5,8,5,9,1,6,1] , C=0 , 1+0+0=1 , A->1 , C->0
[7,9,0,8] + [] , A=[1,8,9,4,4,1,5,8,5,9,1,6,1] , C=0 , 8+0+0=8 , A->8 , C->0
[7,9,0] + [] , A=[8,1,8,9,4,4,1,5,8,5,9,1,6,1] , C=0 , 0+0+0=0 , A->0 , C->0
[7,9] + [] , A=[0,8,1,8,9,4,4,1,5,8,5,9,1,6,1] , C=0 , 9+0+0=9 , A->9 , C->0
[7] + [] , A=[9,0,8,1,8,9,4,4,1,5,8,5,9,1,6,1] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [] , A=[7,9,0,8,1,8,9,4,4,1,5,8,5,9,1,6,1] C=0 , END
</scratch>
79081894415859161
| 79081894415859161 | 10 |
Input:
72653257667437948+9665464630829444
Target:
| Input:
72653257667437948+9665464630829444
Target:
[7,2,6,5,3,2,5,7,6,6,7,4,3,7,9,4,8] + [9,6,6,5,4,6,4,6,3,0,8,2,9,4,4,4] , A=[] , C=0 , 8+4+0=12 , A->2 , C->1
[7,2,6,5,3,2,5,7,6,6,7,4,3,7,9,4] + [9,6,6,5,4,6,4,6,3,0,8,2,9,4,4] , A=[2] , C=1 , 4+4+1=9 , A->9 , C->0
[7,2,6,5,3,2,5,7,6,6,7,4,3,7,9] + [9,6,6,5,4,6,4,6,3,0,8,2,9,4] , A=[9,2] , C=0 , 9+4+0=13 , A->3 , C->1
[7,2,6,5,3,2,5,7,6,6,7,4,3,7] + [9,6,6,5,4,6,4,6,3,0,8,2,9] , A=[3,9,2] , C=1 , 7+9+1=17 , A->7 , C->1
[7,2,6,5,3,2,5,7,6,6,7,4,3] + [9,6,6,5,4,6,4,6,3,0,8,2] , A=[7,3,9,2] , C=1 , 3+2+1=6 , A->6 , C->0
[7,2,6,5,3,2,5,7,6,6,7,4] + [9,6,6,5,4,6,4,6,3,0,8] , A=[6,7,3,9,2] , C=0 , 4+8+0=12 , A->2 , C->1
[7,2,6,5,3,2,5,7,6,6,7] + [9,6,6,5,4,6,4,6,3,0] , A=[2,6,7,3,9,2] , C=1 , 7+0+1=8 , A->8 , C->0
[7,2,6,5,3,2,5,7,6,6] + [9,6,6,5,4,6,4,6,3] , A=[8,2,6,7,3,9,2] , C=0 , 6+3+0=9 , A->9 , C->0
[7,2,6,5,3,2,5,7,6] + [9,6,6,5,4,6,4,6] , A=[9,8,2,6,7,3,9,2] , C=0 , 6+6+0=12 , A->2 , C->1
[7,2,6,5,3,2,5,7] + [9,6,6,5,4,6,4] , A=[2,9,8,2,6,7,3,9,2] , C=1 , 7+4+1=12 , A->2 , C->1
[7,2,6,5,3,2,5] + [9,6,6,5,4,6] , A=[2,2,9,8,2,6,7,3,9,2] , C=1 , 5+6+1=12 , A->2 , C->1
[7,2,6,5,3,2] + [9,6,6,5,4] , A=[2,2,2,9,8,2,6,7,3,9,2] , C=1 , 2+4+1=7 , A->7 , C->0
[7,2,6,5,3] + [9,6,6,5] , A=[7,2,2,2,9,8,2,6,7,3,9,2] , C=0 , 3+5+0=8 , A->8 , C->0
[7,2,6,5] + [9,6,6] , A=[8,7,2,2,2,9,8,2,6,7,3,9,2] , C=0 , 5+6+0=11 , A->1 , C->1
[7,2,6] + [9,6] , A=[1,8,7,2,2,2,9,8,2,6,7,3,9,2] , C=1 , 6+6+1=13 , A->3 , C->1
[7,2] + [9] , A=[3,1,8,7,2,2,2,9,8,2,6,7,3,9,2] , C=1 , 2+9+1=12 , A->2 , C->1
[7] + [] , A=[2,3,1,8,7,2,2,2,9,8,2,6,7,3,9,2] , C=1 , 7+0+1=8 , A->8 , C->0
[] + [] , A=[8,2,3,1,8,7,2,2,2,9,8,2,6,7,3,9,2] C=0 , END
</scratch>
82318722298267392
| 82318722298267392 | 16 |
Input:
36738376893077431+500780
Target:
| Input:
36738376893077431+500780
Target:
[3,6,7,3,8,3,7,6,8,9,3,0,7,7,4,3,1] + [5,0,0,7,8,0] , A=[] , C=0 , 1+0+0=1 , A->1 , C->0
[3,6,7,3,8,3,7,6,8,9,3,0,7,7,4,3] + [5,0,0,7,8] , A=[1] , C=0 , 3+8+0=11 , A->1 , C->1
[3,6,7,3,8,3,7,6,8,9,3,0,7,7,4] + [5,0,0,7] , A=[1,1] , C=1 , 4+7+1=12 , A->2 , C->1
[3,6,7,3,8,3,7,6,8,9,3,0,7,7] + [5,0,0] , A=[2,1,1] , C=1 , 7+0+1=8 , A->8 , C->0
[3,6,7,3,8,3,7,6,8,9,3,0,7] + [5,0] , A=[8,2,1,1] , C=0 , 7+0+0=7 , A->7 , C->0
[3,6,7,3,8,3,7,6,8,9,3,0] + [5] , A=[7,8,2,1,1] , C=0 , 0+5+0=5 , A->5 , C->0
[3,6,7,3,8,3,7,6,8,9,3] + [] , A=[5,7,8,2,1,1] , C=0 , 3+0+0=3 , A->3 , C->0
[3,6,7,3,8,3,7,6,8,9] + [] , A=[3,5,7,8,2,1,1] , C=0 , 9+0+0=9 , A->9 , C->0
[3,6,7,3,8,3,7,6,8] + [] , A=[9,3,5,7,8,2,1,1] , C=0 , 8+0+0=8 , A->8 , C->0
[3,6,7,3,8,3,7,6] + [] , A=[8,9,3,5,7,8,2,1,1] , C=0 , 6+0+0=6 , A->6 , C->0
[3,6,7,3,8,3,7] + [] , A=[6,8,9,3,5,7,8,2,1,1] , C=0 , 7+0+0=7 , A->7 , C->0
[3,6,7,3,8,3] + [] , A=[7,6,8,9,3,5,7,8,2,1,1] , C=0 , 3+0+0=3 , A->3 , C->0
[3,6,7,3,8] + [] , A=[3,7,6,8,9,3,5,7,8,2,1,1] , C=0 , 8+0+0=8 , A->8 , C->0
[3,6,7,3] + [] , A=[8,3,7,6,8,9,3,5,7,8,2,1,1] , C=0 , 3+0+0=3 , A->3 , C->0
[3,6,7] + [] , A=[3,8,3,7,6,8,9,3,5,7,8,2,1,1] , C=0 , 7+0+0=7 , A->7 , C->0
[3,6] + [] , A=[7,3,8,3,7,6,8,9,3,5,7,8,2,1,1] , C=0 , 6+0+0=6 , A->6 , C->0
[3] + [] , A=[6,7,3,8,3,7,6,8,9,3,5,7,8,2,1,1] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,6,7,3,8,3,7,6,8,9,3,5,7,8,2,1,1] C=0 , END
</scratch>
36738376893578211
| 36738376893578211 | 6 |
Input:
32060120795250948+66004467320
Target:
| Input:
32060120795250948+66004467320
Target:
[3,2,0,6,0,1,2,0,7,9,5,2,5,0,9,4,8] + [6,6,0,0,4,4,6,7,3,2,0] , A=[] , C=0 , 8+0+0=8 , A->8 , C->0
[3,2,0,6,0,1,2,0,7,9,5,2,5,0,9,4] + [6,6,0,0,4,4,6,7,3,2] , A=[8] , C=0 , 4+2+0=6 , A->6 , C->0
[3,2,0,6,0,1,2,0,7,9,5,2,5,0,9] + [6,6,0,0,4,4,6,7,3] , A=[6,8] , C=0 , 9+3+0=12 , A->2 , C->1
[3,2,0,6,0,1,2,0,7,9,5,2,5,0] + [6,6,0,0,4,4,6,7] , A=[2,6,8] , C=1 , 0+7+1=8 , A->8 , C->0
[3,2,0,6,0,1,2,0,7,9,5,2,5] + [6,6,0,0,4,4,6] , A=[8,2,6,8] , C=0 , 5+6+0=11 , A->1 , C->1
[3,2,0,6,0,1,2,0,7,9,5,2] + [6,6,0,0,4,4] , A=[1,8,2,6,8] , C=1 , 2+4+1=7 , A->7 , C->0
[3,2,0,6,0,1,2,0,7,9,5] + [6,6,0,0,4] , A=[7,1,8,2,6,8] , C=0 , 5+4+0=9 , A->9 , C->0
[3,2,0,6,0,1,2,0,7,9] + [6,6,0,0] , A=[9,7,1,8,2,6,8] , C=0 , 9+0+0=9 , A->9 , C->0
[3,2,0,6,0,1,2,0,7] + [6,6,0] , A=[9,9,7,1,8,2,6,8] , C=0 , 7+0+0=7 , A->7 , C->0
[3,2,0,6,0,1,2,0] + [6,6] , A=[7,9,9,7,1,8,2,6,8] , C=0 , 0+6+0=6 , A->6 , C->0
[3,2,0,6,0,1,2] + [6] , A=[6,7,9,9,7,1,8,2,6,8] , C=0 , 2+6+0=8 , A->8 , C->0
[3,2,0,6,0,1] + [] , A=[8,6,7,9,9,7,1,8,2,6,8] , C=0 , 1+0+0=1 , A->1 , C->0
[3,2,0,6,0] + [] , A=[1,8,6,7,9,9,7,1,8,2,6,8] , C=0 , 0+0+0=0 , A->0 , C->0
[3,2,0,6] + [] , A=[0,1,8,6,7,9,9,7,1,8,2,6,8] , C=0 , 6+0+0=6 , A->6 , C->0
[3,2,0] + [] , A=[6,0,1,8,6,7,9,9,7,1,8,2,6,8] , C=0 , 0+0+0=0 , A->0 , C->0
[3,2] + [] , A=[0,6,0,1,8,6,7,9,9,7,1,8,2,6,8] , C=0 , 2+0+0=2 , A->2 , C->0
[3] + [] , A=[2,0,6,0,1,8,6,7,9,9,7,1,8,2,6,8] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,2,0,6,0,1,8,6,7,9,9,7,1,8,2,6,8] C=0 , END
</scratch>
32060186799718268
| 32060186799718268 | 11 |
Input:
2019886492+51938064914180497
Target:
| Input:
2019886492+51938064914180497
Target:
[2,0,1,9,8,8,6,4,9,2] + [5,1,9,3,8,0,6,4,9,1,4,1,8,0,4,9,7] , A=[] , C=0 , 2+7+0=9 , A->9 , C->0
[2,0,1,9,8,8,6,4,9] + [5,1,9,3,8,0,6,4,9,1,4,1,8,0,4,9] , A=[9] , C=0 , 9+9+0=18 , A->8 , C->1
[2,0,1,9,8,8,6,4] + [5,1,9,3,8,0,6,4,9,1,4,1,8,0,4] , A=[8,9] , C=1 , 4+4+1=9 , A->9 , C->0
[2,0,1,9,8,8,6] + [5,1,9,3,8,0,6,4,9,1,4,1,8,0] , A=[9,8,9] , C=0 , 6+0+0=6 , A->6 , C->0
[2,0,1,9,8,8] + [5,1,9,3,8,0,6,4,9,1,4,1,8] , A=[6,9,8,9] , C=0 , 8+8+0=16 , A->6 , C->1
[2,0,1,9,8] + [5,1,9,3,8,0,6,4,9,1,4,1] , A=[6,6,9,8,9] , C=1 , 8+1+1=10 , A->0 , C->1
[2,0,1,9] + [5,1,9,3,8,0,6,4,9,1,4] , A=[0,6,6,9,8,9] , C=1 , 9+4+1=14 , A->4 , C->1
[2,0,1] + [5,1,9,3,8,0,6,4,9,1] , A=[4,0,6,6,9,8,9] , C=1 , 1+1+1=3 , A->3 , C->0
[2,0] + [5,1,9,3,8,0,6,4,9] , A=[3,4,0,6,6,9,8,9] , C=0 , 0+9+0=9 , A->9 , C->0
[2] + [5,1,9,3,8,0,6,4] , A=[9,3,4,0,6,6,9,8,9] , C=0 , 2+4+0=6 , A->6 , C->0
[] + [5,1,9,3,8,0,6] , A=[6,9,3,4,0,6,6,9,8,9] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [5,1,9,3,8,0] , A=[6,6,9,3,4,0,6,6,9,8,9] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [5,1,9,3,8] , A=[0,6,6,9,3,4,0,6,6,9,8,9] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [5,1,9,3] , A=[8,0,6,6,9,3,4,0,6,6,9,8,9] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [5,1,9] , A=[3,8,0,6,6,9,3,4,0,6,6,9,8,9] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [5,1] , A=[9,3,8,0,6,6,9,3,4,0,6,6,9,8,9] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [5] , A=[1,9,3,8,0,6,6,9,3,4,0,6,6,9,8,9] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,1,9,3,8,0,6,6,9,3,4,0,6,6,9,8,9] C=0 , END
</scratch>
51938066934066989
| 51938066934066989 | 10 |
Input:
74802+18854130072431664
Target:
| Input:
74802+18854130072431664
Target:
[7,4,8,0,2] + [1,8,8,5,4,1,3,0,0,7,2,4,3,1,6,6,4] , A=[] , C=0 , 2+4+0=6 , A->6 , C->0
[7,4,8,0] + [1,8,8,5,4,1,3,0,0,7,2,4,3,1,6,6] , A=[6] , C=0 , 0+6+0=6 , A->6 , C->0
[7,4,8] + [1,8,8,5,4,1,3,0,0,7,2,4,3,1,6] , A=[6,6] , C=0 , 8+6+0=14 , A->4 , C->1
[7,4] + [1,8,8,5,4,1,3,0,0,7,2,4,3,1] , A=[4,6,6] , C=1 , 4+1+1=6 , A->6 , C->0
[7] + [1,8,8,5,4,1,3,0,0,7,2,4,3] , A=[6,4,6,6] , C=0 , 7+3+0=10 , A->0 , C->1
[] + [1,8,8,5,4,1,3,0,0,7,2,4] , A=[0,6,4,6,6] , C=1 , 0+4+1=5 , A->5 , C->0
[] + [1,8,8,5,4,1,3,0,0,7,2] , A=[5,0,6,4,6,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [1,8,8,5,4,1,3,0,0,7] , A=[2,5,0,6,4,6,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [1,8,8,5,4,1,3,0,0] , A=[7,2,5,0,6,4,6,6] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [1,8,8,5,4,1,3,0] , A=[0,7,2,5,0,6,4,6,6] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [1,8,8,5,4,1,3] , A=[0,0,7,2,5,0,6,4,6,6] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1,8,8,5,4,1] , A=[3,0,0,7,2,5,0,6,4,6,6] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [1,8,8,5,4] , A=[1,3,0,0,7,2,5,0,6,4,6,6] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1,8,8,5] , A=[4,1,3,0,0,7,2,5,0,6,4,6,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,8,8] , A=[5,4,1,3,0,0,7,2,5,0,6,4,6,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [1,8] , A=[8,5,4,1,3,0,0,7,2,5,0,6,4,6,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [1] , A=[8,8,5,4,1,3,0,0,7,2,5,0,6,4,6,6] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,8,8,5,4,1,3,0,0,7,2,5,0,6,4,6,6] C=0 , END
</scratch>
18854130072506466
| 18854130072506466 | 5 |
Input:
72789142480195109+10134847016883
Target:
| Input:
72789142480195109+10134847016883
Target:
[7,2,7,8,9,1,4,2,4,8,0,1,9,5,1,0,9] + [1,0,1,3,4,8,4,7,0,1,6,8,8,3] , A=[] , C=0 , 9+3+0=12 , A->2 , C->1
[7,2,7,8,9,1,4,2,4,8,0,1,9,5,1,0] + [1,0,1,3,4,8,4,7,0,1,6,8,8] , A=[2] , C=1 , 0+8+1=9 , A->9 , C->0
[7,2,7,8,9,1,4,2,4,8,0,1,9,5,1] + [1,0,1,3,4,8,4,7,0,1,6,8] , A=[9,2] , C=0 , 1+8+0=9 , A->9 , C->0
[7,2,7,8,9,1,4,2,4,8,0,1,9,5] + [1,0,1,3,4,8,4,7,0,1,6] , A=[9,9,2] , C=0 , 5+6+0=11 , A->1 , C->1
[7,2,7,8,9,1,4,2,4,8,0,1,9] + [1,0,1,3,4,8,4,7,0,1] , A=[1,9,9,2] , C=1 , 9+1+1=11 , A->1 , C->1
[7,2,7,8,9,1,4,2,4,8,0,1] + [1,0,1,3,4,8,4,7,0] , A=[1,1,9,9,2] , C=1 , 1+0+1=2 , A->2 , C->0
[7,2,7,8,9,1,4,2,4,8,0] + [1,0,1,3,4,8,4,7] , A=[2,1,1,9,9,2] , C=0 , 0+7+0=7 , A->7 , C->0
[7,2,7,8,9,1,4,2,4,8] + [1,0,1,3,4,8,4] , A=[7,2,1,1,9,9,2] , C=0 , 8+4+0=12 , A->2 , C->1
[7,2,7,8,9,1,4,2,4] + [1,0,1,3,4,8] , A=[2,7,2,1,1,9,9,2] , C=1 , 4+8+1=13 , A->3 , C->1
[7,2,7,8,9,1,4,2] + [1,0,1,3,4] , A=[3,2,7,2,1,1,9,9,2] , C=1 , 2+4+1=7 , A->7 , C->0
[7,2,7,8,9,1,4] + [1,0,1,3] , A=[7,3,2,7,2,1,1,9,9,2] , C=0 , 4+3+0=7 , A->7 , C->0
[7,2,7,8,9,1] + [1,0,1] , A=[7,7,3,2,7,2,1,1,9,9,2] , C=0 , 1+1+0=2 , A->2 , C->0
[7,2,7,8,9] + [1,0] , A=[2,7,7,3,2,7,2,1,1,9,9,2] , C=0 , 9+0+0=9 , A->9 , C->0
[7,2,7,8] + [1] , A=[9,2,7,7,3,2,7,2,1,1,9,9,2] , C=0 , 8+1+0=9 , A->9 , C->0
[7,2,7] + [] , A=[9,9,2,7,7,3,2,7,2,1,1,9,9,2] , C=0 , 7+0+0=7 , A->7 , C->0
[7,2] + [] , A=[7,9,9,2,7,7,3,2,7,2,1,1,9,9,2] , C=0 , 2+0+0=2 , A->2 , C->0
[7] + [] , A=[2,7,9,9,2,7,7,3,2,7,2,1,1,9,9,2] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [] , A=[7,2,7,9,9,2,7,7,3,2,7,2,1,1,9,9,2] C=0 , END
</scratch>
72799277327211992
| 72799277327211992 | 14 |
Input:
1517015487+70787516946940241
Target:
| Input:
1517015487+70787516946940241
Target:
[1,5,1,7,0,1,5,4,8,7] + [7,0,7,8,7,5,1,6,9,4,6,9,4,0,2,4,1] , A=[] , C=0 , 7+1+0=8 , A->8 , C->0
[1,5,1,7,0,1,5,4,8] + [7,0,7,8,7,5,1,6,9,4,6,9,4,0,2,4] , A=[8] , C=0 , 8+4+0=12 , A->2 , C->1
[1,5,1,7,0,1,5,4] + [7,0,7,8,7,5,1,6,9,4,6,9,4,0,2] , A=[2,8] , C=1 , 4+2+1=7 , A->7 , C->0
[1,5,1,7,0,1,5] + [7,0,7,8,7,5,1,6,9,4,6,9,4,0] , A=[7,2,8] , C=0 , 5+0+0=5 , A->5 , C->0
[1,5,1,7,0,1] + [7,0,7,8,7,5,1,6,9,4,6,9,4] , A=[5,7,2,8] , C=0 , 1+4+0=5 , A->5 , C->0
[1,5,1,7,0] + [7,0,7,8,7,5,1,6,9,4,6,9] , A=[5,5,7,2,8] , C=0 , 0+9+0=9 , A->9 , C->0
[1,5,1,7] + [7,0,7,8,7,5,1,6,9,4,6] , A=[9,5,5,7,2,8] , C=0 , 7+6+0=13 , A->3 , C->1
[1,5,1] + [7,0,7,8,7,5,1,6,9,4] , A=[3,9,5,5,7,2,8] , C=1 , 1+4+1=6 , A->6 , C->0
[1,5] + [7,0,7,8,7,5,1,6,9] , A=[6,3,9,5,5,7,2,8] , C=0 , 5+9+0=14 , A->4 , C->1
[1] + [7,0,7,8,7,5,1,6] , A=[4,6,3,9,5,5,7,2,8] , C=1 , 1+6+1=8 , A->8 , C->0
[] + [7,0,7,8,7,5,1] , A=[8,4,6,3,9,5,5,7,2,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [7,0,7,8,7,5] , A=[1,8,4,6,3,9,5,5,7,2,8] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [7,0,7,8,7] , A=[5,1,8,4,6,3,9,5,5,7,2,8] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [7,0,7,8] , A=[7,5,1,8,4,6,3,9,5,5,7,2,8] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [7,0,7] , A=[8,7,5,1,8,4,6,3,9,5,5,7,2,8] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [7,0] , A=[7,8,7,5,1,8,4,6,3,9,5,5,7,2,8] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7] , A=[0,7,8,7,5,1,8,4,6,3,9,5,5,7,2,8] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,0,7,8,7,5,1,8,4,6,3,9,5,5,7,2,8] C=0 , END
</scratch>
70787518463955728
| 70787518463955728 | 10 |
Input:
37057218553852471+82439972210
Target:
| Input:
37057218553852471+82439972210
Target:
[3,7,0,5,7,2,1,8,5,5,3,8,5,2,4,7,1] + [8,2,4,3,9,9,7,2,2,1,0] , A=[] , C=0 , 1+0+0=1 , A->1 , C->0
[3,7,0,5,7,2,1,8,5,5,3,8,5,2,4,7] + [8,2,4,3,9,9,7,2,2,1] , A=[1] , C=0 , 7+1+0=8 , A->8 , C->0
[3,7,0,5,7,2,1,8,5,5,3,8,5,2,4] + [8,2,4,3,9,9,7,2,2] , A=[8,1] , C=0 , 4+2+0=6 , A->6 , C->0
[3,7,0,5,7,2,1,8,5,5,3,8,5,2] + [8,2,4,3,9,9,7,2] , A=[6,8,1] , C=0 , 2+2+0=4 , A->4 , C->0
[3,7,0,5,7,2,1,8,5,5,3,8,5] + [8,2,4,3,9,9,7] , A=[4,6,8,1] , C=0 , 5+7+0=12 , A->2 , C->1
[3,7,0,5,7,2,1,8,5,5,3,8] + [8,2,4,3,9,9] , A=[2,4,6,8,1] , C=1 , 8+9+1=18 , A->8 , C->1
[3,7,0,5,7,2,1,8,5,5,3] + [8,2,4,3,9] , A=[8,2,4,6,8,1] , C=1 , 3+9+1=13 , A->3 , C->1
[3,7,0,5,7,2,1,8,5,5] + [8,2,4,3] , A=[3,8,2,4,6,8,1] , C=1 , 5+3+1=9 , A->9 , C->0
[3,7,0,5,7,2,1,8,5] + [8,2,4] , A=[9,3,8,2,4,6,8,1] , C=0 , 5+4+0=9 , A->9 , C->0
[3,7,0,5,7,2,1,8] + [8,2] , A=[9,9,3,8,2,4,6,8,1] , C=0 , 8+2+0=10 , A->0 , C->1
[3,7,0,5,7,2,1] + [8] , A=[0,9,9,3,8,2,4,6,8,1] , C=1 , 1+8+1=10 , A->0 , C->1
[3,7,0,5,7,2] + [] , A=[0,0,9,9,3,8,2,4,6,8,1] , C=1 , 2+0+1=3 , A->3 , C->0
[3,7,0,5,7] + [] , A=[3,0,0,9,9,3,8,2,4,6,8,1] , C=0 , 7+0+0=7 , A->7 , C->0
[3,7,0,5] + [] , A=[7,3,0,0,9,9,3,8,2,4,6,8,1] , C=0 , 5+0+0=5 , A->5 , C->0
[3,7,0] + [] , A=[5,7,3,0,0,9,9,3,8,2,4,6,8,1] , C=0 , 0+0+0=0 , A->0 , C->0
[3,7] + [] , A=[0,5,7,3,0,0,9,9,3,8,2,4,6,8,1] , C=0 , 7+0+0=7 , A->7 , C->0
[3] + [] , A=[7,0,5,7,3,0,0,9,9,3,8,2,4,6,8,1] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,7,0,5,7,3,0,0,9,9,3,8,2,4,6,8,1] C=0 , END
</scratch>
37057300993824681
| 37057300993824681 | 11 |
Input:
52018777107834852+64792
Target:
| Input:
52018777107834852+64792
Target:
[5,2,0,1,8,7,7,7,1,0,7,8,3,4,8,5,2] + [6,4,7,9,2] , A=[] , C=0 , 2+2+0=4 , A->4 , C->0
[5,2,0,1,8,7,7,7,1,0,7,8,3,4,8,5] + [6,4,7,9] , A=[4] , C=0 , 5+9+0=14 , A->4 , C->1
[5,2,0,1,8,7,7,7,1,0,7,8,3,4,8] + [6,4,7] , A=[4,4] , C=1 , 8+7+1=16 , A->6 , C->1
[5,2,0,1,8,7,7,7,1,0,7,8,3,4] + [6,4] , A=[6,4,4] , C=1 , 4+4+1=9 , A->9 , C->0
[5,2,0,1,8,7,7,7,1,0,7,8,3] + [6] , A=[9,6,4,4] , C=0 , 3+6+0=9 , A->9 , C->0
[5,2,0,1,8,7,7,7,1,0,7,8] + [] , A=[9,9,6,4,4] , C=0 , 8+0+0=8 , A->8 , C->0
[5,2,0,1,8,7,7,7,1,0,7] + [] , A=[8,9,9,6,4,4] , C=0 , 7+0+0=7 , A->7 , C->0
[5,2,0,1,8,7,7,7,1,0] + [] , A=[7,8,9,9,6,4,4] , C=0 , 0+0+0=0 , A->0 , C->0
[5,2,0,1,8,7,7,7,1] + [] , A=[0,7,8,9,9,6,4,4] , C=0 , 1+0+0=1 , A->1 , C->0
[5,2,0,1,8,7,7,7] + [] , A=[1,0,7,8,9,9,6,4,4] , C=0 , 7+0+0=7 , A->7 , C->0
[5,2,0,1,8,7,7] + [] , A=[7,1,0,7,8,9,9,6,4,4] , C=0 , 7+0+0=7 , A->7 , C->0
[5,2,0,1,8,7] + [] , A=[7,7,1,0,7,8,9,9,6,4,4] , C=0 , 7+0+0=7 , A->7 , C->0
[5,2,0,1,8] + [] , A=[7,7,7,1,0,7,8,9,9,6,4,4] , C=0 , 8+0+0=8 , A->8 , C->0
[5,2,0,1] + [] , A=[8,7,7,7,1,0,7,8,9,9,6,4,4] , C=0 , 1+0+0=1 , A->1 , C->0
[5,2,0] + [] , A=[1,8,7,7,7,1,0,7,8,9,9,6,4,4] , C=0 , 0+0+0=0 , A->0 , C->0
[5,2] + [] , A=[0,1,8,7,7,7,1,0,7,8,9,9,6,4,4] , C=0 , 2+0+0=2 , A->2 , C->0
[5] + [] , A=[2,0,1,8,7,7,7,1,0,7,8,9,9,6,4,4] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,2,0,1,8,7,7,7,1,0,7,8,9,9,6,4,4] C=0 , END
</scratch>
52018777107899644
| 52018777107899644 | 5 |
Input:
32573656767236897+107
Target:
| Input:
32573656767236897+107
Target:
[3,2,5,7,3,6,5,6,7,6,7,2,3,6,8,9,7] + [1,0,7] , A=[] , C=0 , 7+7+0=14 , A->4 , C->1
[3,2,5,7,3,6,5,6,7,6,7,2,3,6,8,9] + [1,0] , A=[4] , C=1 , 9+0+1=10 , A->0 , C->1
[3,2,5,7,3,6,5,6,7,6,7,2,3,6,8] + [1] , A=[0,4] , C=1 , 8+1+1=10 , A->0 , C->1
[3,2,5,7,3,6,5,6,7,6,7,2,3,6] + [] , A=[0,0,4] , C=1 , 6+0+1=7 , A->7 , C->0
[3,2,5,7,3,6,5,6,7,6,7,2,3] + [] , A=[7,0,0,4] , C=0 , 3+0+0=3 , A->3 , C->0
[3,2,5,7,3,6,5,6,7,6,7,2] + [] , A=[3,7,0,0,4] , C=0 , 2+0+0=2 , A->2 , C->0
[3,2,5,7,3,6,5,6,7,6,7] + [] , A=[2,3,7,0,0,4] , C=0 , 7+0+0=7 , A->7 , C->0
[3,2,5,7,3,6,5,6,7,6] + [] , A=[7,2,3,7,0,0,4] , C=0 , 6+0+0=6 , A->6 , C->0
[3,2,5,7,3,6,5,6,7] + [] , A=[6,7,2,3,7,0,0,4] , C=0 , 7+0+0=7 , A->7 , C->0
[3,2,5,7,3,6,5,6] + [] , A=[7,6,7,2,3,7,0,0,4] , C=0 , 6+0+0=6 , A->6 , C->0
[3,2,5,7,3,6,5] + [] , A=[6,7,6,7,2,3,7,0,0,4] , C=0 , 5+0+0=5 , A->5 , C->0
[3,2,5,7,3,6] + [] , A=[5,6,7,6,7,2,3,7,0,0,4] , C=0 , 6+0+0=6 , A->6 , C->0
[3,2,5,7,3] + [] , A=[6,5,6,7,6,7,2,3,7,0,0,4] , C=0 , 3+0+0=3 , A->3 , C->0
[3,2,5,7] + [] , A=[3,6,5,6,7,6,7,2,3,7,0,0,4] , C=0 , 7+0+0=7 , A->7 , C->0
[3,2,5] + [] , A=[7,3,6,5,6,7,6,7,2,3,7,0,0,4] , C=0 , 5+0+0=5 , A->5 , C->0
[3,2] + [] , A=[5,7,3,6,5,6,7,6,7,2,3,7,0,0,4] , C=0 , 2+0+0=2 , A->2 , C->0
[3] + [] , A=[2,5,7,3,6,5,6,7,6,7,2,3,7,0,0,4] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,2,5,7,3,6,5,6,7,6,7,2,3,7,0,0,4] C=0 , END
</scratch>
32573656767237004
| 32573656767237004 | 3 |
Input:
36+85293676685107518
Target:
| Input:
36+85293676685107518
Target:
[3,6] + [8,5,2,9,3,6,7,6,6,8,5,1,0,7,5,1,8] , A=[] , C=0 , 6+8+0=14 , A->4 , C->1
[3] + [8,5,2,9,3,6,7,6,6,8,5,1,0,7,5,1] , A=[4] , C=1 , 3+1+1=5 , A->5 , C->0
[] + [8,5,2,9,3,6,7,6,6,8,5,1,0,7,5] , A=[5,4] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [8,5,2,9,3,6,7,6,6,8,5,1,0,7] , A=[5,5,4] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [8,5,2,9,3,6,7,6,6,8,5,1,0] , A=[7,5,5,4] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [8,5,2,9,3,6,7,6,6,8,5,1] , A=[0,7,5,5,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [8,5,2,9,3,6,7,6,6,8,5] , A=[1,0,7,5,5,4] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [8,5,2,9,3,6,7,6,6,8] , A=[5,1,0,7,5,5,4] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [8,5,2,9,3,6,7,6,6] , A=[8,5,1,0,7,5,5,4] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [8,5,2,9,3,6,7,6] , A=[6,8,5,1,0,7,5,5,4] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [8,5,2,9,3,6,7] , A=[6,6,8,5,1,0,7,5,5,4] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [8,5,2,9,3,6] , A=[7,6,6,8,5,1,0,7,5,5,4] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [8,5,2,9,3] , A=[6,7,6,6,8,5,1,0,7,5,5,4] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [8,5,2,9] , A=[3,6,7,6,6,8,5,1,0,7,5,5,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [8,5,2] , A=[9,3,6,7,6,6,8,5,1,0,7,5,5,4] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [8,5] , A=[2,9,3,6,7,6,6,8,5,1,0,7,5,5,4] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [8] , A=[5,2,9,3,6,7,6,6,8,5,1,0,7,5,5,4] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,5,2,9,3,6,7,6,6,8,5,1,0,7,5,5,4] C=0 , END
</scratch>
85293676685107554
| 85293676685107554 | 2 |
Input:
86993407256722102+13106055559812915
Target:
| Input:
86993407256722102+13106055559812915
Target:
[8,6,9,9,3,4,0,7,2,5,6,7,2,2,1,0,2] + [1,3,1,0,6,0,5,5,5,5,9,8,1,2,9,1,5] , A=[] , C=0 , 2+5+0=7 , A->7 , C->0
[8,6,9,9,3,4,0,7,2,5,6,7,2,2,1,0] + [1,3,1,0,6,0,5,5,5,5,9,8,1,2,9,1] , A=[7] , C=0 , 0+1+0=1 , A->1 , C->0
[8,6,9,9,3,4,0,7,2,5,6,7,2,2,1] + [1,3,1,0,6,0,5,5,5,5,9,8,1,2,9] , A=[1,7] , C=0 , 1+9+0=10 , A->0 , C->1
[8,6,9,9,3,4,0,7,2,5,6,7,2,2] + [1,3,1,0,6,0,5,5,5,5,9,8,1,2] , A=[0,1,7] , C=1 , 2+2+1=5 , A->5 , C->0
[8,6,9,9,3,4,0,7,2,5,6,7,2] + [1,3,1,0,6,0,5,5,5,5,9,8,1] , A=[5,0,1,7] , C=0 , 2+1+0=3 , A->3 , C->0
[8,6,9,9,3,4,0,7,2,5,6,7] + [1,3,1,0,6,0,5,5,5,5,9,8] , A=[3,5,0,1,7] , C=0 , 7+8+0=15 , A->5 , C->1
[8,6,9,9,3,4,0,7,2,5,6] + [1,3,1,0,6,0,5,5,5,5,9] , A=[5,3,5,0,1,7] , C=1 , 6+9+1=16 , A->6 , C->1
[8,6,9,9,3,4,0,7,2,5] + [1,3,1,0,6,0,5,5,5,5] , A=[6,5,3,5,0,1,7] , C=1 , 5+5+1=11 , A->1 , C->1
[8,6,9,9,3,4,0,7,2] + [1,3,1,0,6,0,5,5,5] , A=[1,6,5,3,5,0,1,7] , C=1 , 2+5+1=8 , A->8 , C->0
[8,6,9,9,3,4,0,7] + [1,3,1,0,6,0,5,5] , A=[8,1,6,5,3,5,0,1,7] , C=0 , 7+5+0=12 , A->2 , C->1
[8,6,9,9,3,4,0] + [1,3,1,0,6,0,5] , A=[2,8,1,6,5,3,5,0,1,7] , C=1 , 0+5+1=6 , A->6 , C->0
[8,6,9,9,3,4] + [1,3,1,0,6,0] , A=[6,2,8,1,6,5,3,5,0,1,7] , C=0 , 4+0+0=4 , A->4 , C->0
[8,6,9,9,3] + [1,3,1,0,6] , A=[4,6,2,8,1,6,5,3,5,0,1,7] , C=0 , 3+6+0=9 , A->9 , C->0
[8,6,9,9] + [1,3,1,0] , A=[9,4,6,2,8,1,6,5,3,5,0,1,7] , C=0 , 9+0+0=9 , A->9 , C->0
[8,6,9] + [1,3,1] , A=[9,9,4,6,2,8,1,6,5,3,5,0,1,7] , C=0 , 9+1+0=10 , A->0 , C->1
[8,6] + [1,3] , A=[0,9,9,4,6,2,8,1,6,5,3,5,0,1,7] , C=1 , 6+3+1=10 , A->0 , C->1
[8] + [1] , A=[0,0,9,9,4,6,2,8,1,6,5,3,5,0,1,7] , C=1 , 8+1+1=10 , A->0 , C->1
[] + [] , A=[0,0,0,9,9,4,6,2,8,1,6,5,3,5,0,1,7] C=1 , END
</scratch>
100099462816535017
| 100099462816535017 | 17 |
Input:
57078478684137+21135972701687334
Target:
| Input:
57078478684137+21135972701687334
Target:
[5,7,0,7,8,4,7,8,6,8,4,1,3,7] + [2,1,1,3,5,9,7,2,7,0,1,6,8,7,3,3,4] , A=[] , C=0 , 7+4+0=11 , A->1 , C->1
[5,7,0,7,8,4,7,8,6,8,4,1,3] + [2,1,1,3,5,9,7,2,7,0,1,6,8,7,3,3] , A=[1] , C=1 , 3+3+1=7 , A->7 , C->0
[5,7,0,7,8,4,7,8,6,8,4,1] + [2,1,1,3,5,9,7,2,7,0,1,6,8,7,3] , A=[7,1] , C=0 , 1+3+0=4 , A->4 , C->0
[5,7,0,7,8,4,7,8,6,8,4] + [2,1,1,3,5,9,7,2,7,0,1,6,8,7] , A=[4,7,1] , C=0 , 4+7+0=11 , A->1 , C->1
[5,7,0,7,8,4,7,8,6,8] + [2,1,1,3,5,9,7,2,7,0,1,6,8] , A=[1,4,7,1] , C=1 , 8+8+1=17 , A->7 , C->1
[5,7,0,7,8,4,7,8,6] + [2,1,1,3,5,9,7,2,7,0,1,6] , A=[7,1,4,7,1] , C=1 , 6+6+1=13 , A->3 , C->1
[5,7,0,7,8,4,7,8] + [2,1,1,3,5,9,7,2,7,0,1] , A=[3,7,1,4,7,1] , C=1 , 8+1+1=10 , A->0 , C->1
[5,7,0,7,8,4,7] + [2,1,1,3,5,9,7,2,7,0] , A=[0,3,7,1,4,7,1] , C=1 , 7+0+1=8 , A->8 , C->0
[5,7,0,7,8,4] + [2,1,1,3,5,9,7,2,7] , A=[8,0,3,7,1,4,7,1] , C=0 , 4+7+0=11 , A->1 , C->1
[5,7,0,7,8] + [2,1,1,3,5,9,7,2] , A=[1,8,0,3,7,1,4,7,1] , C=1 , 8+2+1=11 , A->1 , C->1
[5,7,0,7] + [2,1,1,3,5,9,7] , A=[1,1,8,0,3,7,1,4,7,1] , C=1 , 7+7+1=15 , A->5 , C->1
[5,7,0] + [2,1,1,3,5,9] , A=[5,1,1,8,0,3,7,1,4,7,1] , C=1 , 0+9+1=10 , A->0 , C->1
[5,7] + [2,1,1,3,5] , A=[0,5,1,1,8,0,3,7,1,4,7,1] , C=1 , 7+5+1=13 , A->3 , C->1
[5] + [2,1,1,3] , A=[3,0,5,1,1,8,0,3,7,1,4,7,1] , C=1 , 5+3+1=9 , A->9 , C->0
[] + [2,1,1] , A=[9,3,0,5,1,1,8,0,3,7,1,4,7,1] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [2,1] , A=[1,9,3,0,5,1,1,8,0,3,7,1,4,7,1] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [2] , A=[1,1,9,3,0,5,1,1,8,0,3,7,1,4,7,1] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,1,1,9,3,0,5,1,1,8,0,3,7,1,4,7,1] C=0 , END
</scratch>
21193051180371471
| 21193051180371471 | 14 |
Input:
25434087547451079+924
Target:
| Input:
25434087547451079+924
Target:
[2,5,4,3,4,0,8,7,5,4,7,4,5,1,0,7,9] + [9,2,4] , A=[] , C=0 , 9+4+0=13 , A->3 , C->1
[2,5,4,3,4,0,8,7,5,4,7,4,5,1,0,7] + [9,2] , A=[3] , C=1 , 7+2+1=10 , A->0 , C->1
[2,5,4,3,4,0,8,7,5,4,7,4,5,1,0] + [9] , A=[0,3] , C=1 , 0+9+1=10 , A->0 , C->1
[2,5,4,3,4,0,8,7,5,4,7,4,5,1] + [] , A=[0,0,3] , C=1 , 1+0+1=2 , A->2 , C->0
[2,5,4,3,4,0,8,7,5,4,7,4,5] + [] , A=[2,0,0,3] , C=0 , 5+0+0=5 , A->5 , C->0
[2,5,4,3,4,0,8,7,5,4,7,4] + [] , A=[5,2,0,0,3] , C=0 , 4+0+0=4 , A->4 , C->0
[2,5,4,3,4,0,8,7,5,4,7] + [] , A=[4,5,2,0,0,3] , C=0 , 7+0+0=7 , A->7 , C->0
[2,5,4,3,4,0,8,7,5,4] + [] , A=[7,4,5,2,0,0,3] , C=0 , 4+0+0=4 , A->4 , C->0
[2,5,4,3,4,0,8,7,5] + [] , A=[4,7,4,5,2,0,0,3] , C=0 , 5+0+0=5 , A->5 , C->0
[2,5,4,3,4,0,8,7] + [] , A=[5,4,7,4,5,2,0,0,3] , C=0 , 7+0+0=7 , A->7 , C->0
[2,5,4,3,4,0,8] + [] , A=[7,5,4,7,4,5,2,0,0,3] , C=0 , 8+0+0=8 , A->8 , C->0
[2,5,4,3,4,0] + [] , A=[8,7,5,4,7,4,5,2,0,0,3] , C=0 , 0+0+0=0 , A->0 , C->0
[2,5,4,3,4] + [] , A=[0,8,7,5,4,7,4,5,2,0,0,3] , C=0 , 4+0+0=4 , A->4 , C->0
[2,5,4,3] + [] , A=[4,0,8,7,5,4,7,4,5,2,0,0,3] , C=0 , 3+0+0=3 , A->3 , C->0
[2,5,4] + [] , A=[3,4,0,8,7,5,4,7,4,5,2,0,0,3] , C=0 , 4+0+0=4 , A->4 , C->0
[2,5] + [] , A=[4,3,4,0,8,7,5,4,7,4,5,2,0,0,3] , C=0 , 5+0+0=5 , A->5 , C->0
[2] + [] , A=[5,4,3,4,0,8,7,5,4,7,4,5,2,0,0,3] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,5,4,3,4,0,8,7,5,4,7,4,5,2,0,0,3] C=0 , END
</scratch>
25434087547452003
| 25434087547452003 | 3 |
Input:
35501841501+90420241347096684
Target:
| Input:
35501841501+90420241347096684
Target:
[3,5,5,0,1,8,4,1,5,0,1] + [9,0,4,2,0,2,4,1,3,4,7,0,9,6,6,8,4] , A=[] , C=0 , 1+4+0=5 , A->5 , C->0
[3,5,5,0,1,8,4,1,5,0] + [9,0,4,2,0,2,4,1,3,4,7,0,9,6,6,8] , A=[5] , C=0 , 0+8+0=8 , A->8 , C->0
[3,5,5,0,1,8,4,1,5] + [9,0,4,2,0,2,4,1,3,4,7,0,9,6,6] , A=[8,5] , C=0 , 5+6+0=11 , A->1 , C->1
[3,5,5,0,1,8,4,1] + [9,0,4,2,0,2,4,1,3,4,7,0,9,6] , A=[1,8,5] , C=1 , 1+6+1=8 , A->8 , C->0
[3,5,5,0,1,8,4] + [9,0,4,2,0,2,4,1,3,4,7,0,9] , A=[8,1,8,5] , C=0 , 4+9+0=13 , A->3 , C->1
[3,5,5,0,1,8] + [9,0,4,2,0,2,4,1,3,4,7,0] , A=[3,8,1,8,5] , C=1 , 8+0+1=9 , A->9 , C->0
[3,5,5,0,1] + [9,0,4,2,0,2,4,1,3,4,7] , A=[9,3,8,1,8,5] , C=0 , 1+7+0=8 , A->8 , C->0
[3,5,5,0] + [9,0,4,2,0,2,4,1,3,4] , A=[8,9,3,8,1,8,5] , C=0 , 0+4+0=4 , A->4 , C->0
[3,5,5] + [9,0,4,2,0,2,4,1,3] , A=[4,8,9,3,8,1,8,5] , C=0 , 5+3+0=8 , A->8 , C->0
[3,5] + [9,0,4,2,0,2,4,1] , A=[8,4,8,9,3,8,1,8,5] , C=0 , 5+1+0=6 , A->6 , C->0
[3] + [9,0,4,2,0,2,4] , A=[6,8,4,8,9,3,8,1,8,5] , C=0 , 3+4+0=7 , A->7 , C->0
[] + [9,0,4,2,0,2] , A=[7,6,8,4,8,9,3,8,1,8,5] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,0,4,2,0] , A=[2,7,6,8,4,8,9,3,8,1,8,5] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [9,0,4,2] , A=[0,2,7,6,8,4,8,9,3,8,1,8,5] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,0,4] , A=[2,0,2,7,6,8,4,8,9,3,8,1,8,5] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [9,0] , A=[4,2,0,2,7,6,8,4,8,9,3,8,1,8,5] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [9] , A=[0,4,2,0,2,7,6,8,4,8,9,3,8,1,8,5] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,0,4,2,0,2,7,6,8,4,8,9,3,8,1,8,5] C=0 , END
</scratch>
90420276848938185
| 90420276848938185 | 11 |
Input:
92165800452931139+616
Target:
| Input:
92165800452931139+616
Target:
[9,2,1,6,5,8,0,0,4,5,2,9,3,1,1,3,9] + [6,1,6] , A=[] , C=0 , 9+6+0=15 , A->5 , C->1
[9,2,1,6,5,8,0,0,4,5,2,9,3,1,1,3] + [6,1] , A=[5] , C=1 , 3+1+1=5 , A->5 , C->0
[9,2,1,6,5,8,0,0,4,5,2,9,3,1,1] + [6] , A=[5,5] , C=0 , 1+6+0=7 , A->7 , C->0
[9,2,1,6,5,8,0,0,4,5,2,9,3,1] + [] , A=[7,5,5] , C=0 , 1+0+0=1 , A->1 , C->0
[9,2,1,6,5,8,0,0,4,5,2,9,3] + [] , A=[1,7,5,5] , C=0 , 3+0+0=3 , A->3 , C->0
[9,2,1,6,5,8,0,0,4,5,2,9] + [] , A=[3,1,7,5,5] , C=0 , 9+0+0=9 , A->9 , C->0
[9,2,1,6,5,8,0,0,4,5,2] + [] , A=[9,3,1,7,5,5] , C=0 , 2+0+0=2 , A->2 , C->0
[9,2,1,6,5,8,0,0,4,5] + [] , A=[2,9,3,1,7,5,5] , C=0 , 5+0+0=5 , A->5 , C->0
[9,2,1,6,5,8,0,0,4] + [] , A=[5,2,9,3,1,7,5,5] , C=0 , 4+0+0=4 , A->4 , C->0
[9,2,1,6,5,8,0,0] + [] , A=[4,5,2,9,3,1,7,5,5] , C=0 , 0+0+0=0 , A->0 , C->0
[9,2,1,6,5,8,0] + [] , A=[0,4,5,2,9,3,1,7,5,5] , C=0 , 0+0+0=0 , A->0 , C->0
[9,2,1,6,5,8] + [] , A=[0,0,4,5,2,9,3,1,7,5,5] , C=0 , 8+0+0=8 , A->8 , C->0
[9,2,1,6,5] + [] , A=[8,0,0,4,5,2,9,3,1,7,5,5] , C=0 , 5+0+0=5 , A->5 , C->0
[9,2,1,6] + [] , A=[5,8,0,0,4,5,2,9,3,1,7,5,5] , C=0 , 6+0+0=6 , A->6 , C->0
[9,2,1] + [] , A=[6,5,8,0,0,4,5,2,9,3,1,7,5,5] , C=0 , 1+0+0=1 , A->1 , C->0
[9,2] + [] , A=[1,6,5,8,0,0,4,5,2,9,3,1,7,5,5] , C=0 , 2+0+0=2 , A->2 , C->0
[9] + [] , A=[2,1,6,5,8,0,0,4,5,2,9,3,1,7,5,5] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,2,1,6,5,8,0,0,4,5,2,9,3,1,7,5,5] C=0 , END
</scratch>
92165800452931755
| 92165800452931755 | 3 |
Input:
52809295344960777+20753929
Target:
| Input:
52809295344960777+20753929
Target:
[5,2,8,0,9,2,9,5,3,4,4,9,6,0,7,7,7] + [2,0,7,5,3,9,2,9] , A=[] , C=0 , 7+9+0=16 , A->6 , C->1
[5,2,8,0,9,2,9,5,3,4,4,9,6,0,7,7] + [2,0,7,5,3,9,2] , A=[6] , C=1 , 7+2+1=10 , A->0 , C->1
[5,2,8,0,9,2,9,5,3,4,4,9,6,0,7] + [2,0,7,5,3,9] , A=[0,6] , C=1 , 7+9+1=17 , A->7 , C->1
[5,2,8,0,9,2,9,5,3,4,4,9,6,0] + [2,0,7,5,3] , A=[7,0,6] , C=1 , 0+3+1=4 , A->4 , C->0
[5,2,8,0,9,2,9,5,3,4,4,9,6] + [2,0,7,5] , A=[4,7,0,6] , C=0 , 6+5+0=11 , A->1 , C->1
[5,2,8,0,9,2,9,5,3,4,4,9] + [2,0,7] , A=[1,4,7,0,6] , C=1 , 9+7+1=17 , A->7 , C->1
[5,2,8,0,9,2,9,5,3,4,4] + [2,0] , A=[7,1,4,7,0,6] , C=1 , 4+0+1=5 , A->5 , C->0
[5,2,8,0,9,2,9,5,3,4] + [2] , A=[5,7,1,4,7,0,6] , C=0 , 4+2+0=6 , A->6 , C->0
[5,2,8,0,9,2,9,5,3] + [] , A=[6,5,7,1,4,7,0,6] , C=0 , 3+0+0=3 , A->3 , C->0
[5,2,8,0,9,2,9,5] + [] , A=[3,6,5,7,1,4,7,0,6] , C=0 , 5+0+0=5 , A->5 , C->0
[5,2,8,0,9,2,9] + [] , A=[5,3,6,5,7,1,4,7,0,6] , C=0 , 9+0+0=9 , A->9 , C->0
[5,2,8,0,9,2] + [] , A=[9,5,3,6,5,7,1,4,7,0,6] , C=0 , 2+0+0=2 , A->2 , C->0
[5,2,8,0,9] + [] , A=[2,9,5,3,6,5,7,1,4,7,0,6] , C=0 , 9+0+0=9 , A->9 , C->0
[5,2,8,0] + [] , A=[9,2,9,5,3,6,5,7,1,4,7,0,6] , C=0 , 0+0+0=0 , A->0 , C->0
[5,2,8] + [] , A=[0,9,2,9,5,3,6,5,7,1,4,7,0,6] , C=0 , 8+0+0=8 , A->8 , C->0
[5,2] + [] , A=[8,0,9,2,9,5,3,6,5,7,1,4,7,0,6] , C=0 , 2+0+0=2 , A->2 , C->0
[5] + [] , A=[2,8,0,9,2,9,5,3,6,5,7,1,4,7,0,6] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,2,8,0,9,2,9,5,3,6,5,7,1,4,7,0,6] C=0 , END
</scratch>
52809295365714706
| 52809295365714706 | 8 |
Input:
71843439662855959+97979781
Target:
| Input:
71843439662855959+97979781
Target:
[7,1,8,4,3,4,3,9,6,6,2,8,5,5,9,5,9] + [9,7,9,7,9,7,8,1] , A=[] , C=0 , 9+1+0=10 , A->0 , C->1
[7,1,8,4,3,4,3,9,6,6,2,8,5,5,9,5] + [9,7,9,7,9,7,8] , A=[0] , C=1 , 5+8+1=14 , A->4 , C->1
[7,1,8,4,3,4,3,9,6,6,2,8,5,5,9] + [9,7,9,7,9,7] , A=[4,0] , C=1 , 9+7+1=17 , A->7 , C->1
[7,1,8,4,3,4,3,9,6,6,2,8,5,5] + [9,7,9,7,9] , A=[7,4,0] , C=1 , 5+9+1=15 , A->5 , C->1
[7,1,8,4,3,4,3,9,6,6,2,8,5] + [9,7,9,7] , A=[5,7,4,0] , C=1 , 5+7+1=13 , A->3 , C->1
[7,1,8,4,3,4,3,9,6,6,2,8] + [9,7,9] , A=[3,5,7,4,0] , C=1 , 8+9+1=18 , A->8 , C->1
[7,1,8,4,3,4,3,9,6,6,2] + [9,7] , A=[8,3,5,7,4,0] , C=1 , 2+7+1=10 , A->0 , C->1
[7,1,8,4,3,4,3,9,6,6] + [9] , A=[0,8,3,5,7,4,0] , C=1 , 6+9+1=16 , A->6 , C->1
[7,1,8,4,3,4,3,9,6] + [] , A=[6,0,8,3,5,7,4,0] , C=1 , 6+0+1=7 , A->7 , C->0
[7,1,8,4,3,4,3,9] + [] , A=[7,6,0,8,3,5,7,4,0] , C=0 , 9+0+0=9 , A->9 , C->0
[7,1,8,4,3,4,3] + [] , A=[9,7,6,0,8,3,5,7,4,0] , C=0 , 3+0+0=3 , A->3 , C->0
[7,1,8,4,3,4] + [] , A=[3,9,7,6,0,8,3,5,7,4,0] , C=0 , 4+0+0=4 , A->4 , C->0
[7,1,8,4,3] + [] , A=[4,3,9,7,6,0,8,3,5,7,4,0] , C=0 , 3+0+0=3 , A->3 , C->0
[7,1,8,4] + [] , A=[3,4,3,9,7,6,0,8,3,5,7,4,0] , C=0 , 4+0+0=4 , A->4 , C->0
[7,1,8] + [] , A=[4,3,4,3,9,7,6,0,8,3,5,7,4,0] , C=0 , 8+0+0=8 , A->8 , C->0
[7,1] + [] , A=[8,4,3,4,3,9,7,6,0,8,3,5,7,4,0] , C=0 , 1+0+0=1 , A->1 , C->0
[7] + [] , A=[1,8,4,3,4,3,9,7,6,0,8,3,5,7,4,0] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [] , A=[7,1,8,4,3,4,3,9,7,6,0,8,3,5,7,4,0] C=0 , END
</scratch>
71843439760835740
| 71843439760835740 | 8 |
Input:
27827859052955185+4067597
Target:
| Input:
27827859052955185+4067597
Target:
[2,7,8,2,7,8,5,9,0,5,2,9,5,5,1,8,5] + [4,0,6,7,5,9,7] , A=[] , C=0 , 5+7+0=12 , A->2 , C->1
[2,7,8,2,7,8,5,9,0,5,2,9,5,5,1,8] + [4,0,6,7,5,9] , A=[2] , C=1 , 8+9+1=18 , A->8 , C->1
[2,7,8,2,7,8,5,9,0,5,2,9,5,5,1] + [4,0,6,7,5] , A=[8,2] , C=1 , 1+5+1=7 , A->7 , C->0
[2,7,8,2,7,8,5,9,0,5,2,9,5,5] + [4,0,6,7] , A=[7,8,2] , C=0 , 5+7+0=12 , A->2 , C->1
[2,7,8,2,7,8,5,9,0,5,2,9,5] + [4,0,6] , A=[2,7,8,2] , C=1 , 5+6+1=12 , A->2 , C->1
[2,7,8,2,7,8,5,9,0,5,2,9] + [4,0] , A=[2,2,7,8,2] , C=1 , 9+0+1=10 , A->0 , C->1
[2,7,8,2,7,8,5,9,0,5,2] + [4] , A=[0,2,2,7,8,2] , C=1 , 2+4+1=7 , A->7 , C->0
[2,7,8,2,7,8,5,9,0,5] + [] , A=[7,0,2,2,7,8,2] , C=0 , 5+0+0=5 , A->5 , C->0
[2,7,8,2,7,8,5,9,0] + [] , A=[5,7,0,2,2,7,8,2] , C=0 , 0+0+0=0 , A->0 , C->0
[2,7,8,2,7,8,5,9] + [] , A=[0,5,7,0,2,2,7,8,2] , C=0 , 9+0+0=9 , A->9 , C->0
[2,7,8,2,7,8,5] + [] , A=[9,0,5,7,0,2,2,7,8,2] , C=0 , 5+0+0=5 , A->5 , C->0
[2,7,8,2,7,8] + [] , A=[5,9,0,5,7,0,2,2,7,8,2] , C=0 , 8+0+0=8 , A->8 , C->0
[2,7,8,2,7] + [] , A=[8,5,9,0,5,7,0,2,2,7,8,2] , C=0 , 7+0+0=7 , A->7 , C->0
[2,7,8,2] + [] , A=[7,8,5,9,0,5,7,0,2,2,7,8,2] , C=0 , 2+0+0=2 , A->2 , C->0
[2,7,8] + [] , A=[2,7,8,5,9,0,5,7,0,2,2,7,8,2] , C=0 , 8+0+0=8 , A->8 , C->0
[2,7] + [] , A=[8,2,7,8,5,9,0,5,7,0,2,2,7,8,2] , C=0 , 7+0+0=7 , A->7 , C->0
[2] + [] , A=[7,8,2,7,8,5,9,0,5,7,0,2,2,7,8,2] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,7,8,2,7,8,5,9,0,5,7,0,2,2,7,8,2] C=0 , END
</scratch>
27827859057022782
| 27827859057022782 | 7 |
Input:
82950732271019918+825623
Target:
| Input:
82950732271019918+825623
Target:
[8,2,9,5,0,7,3,2,2,7,1,0,1,9,9,1,8] + [8,2,5,6,2,3] , A=[] , C=0 , 8+3+0=11 , A->1 , C->1
[8,2,9,5,0,7,3,2,2,7,1,0,1,9,9,1] + [8,2,5,6,2] , A=[1] , C=1 , 1+2+1=4 , A->4 , C->0
[8,2,9,5,0,7,3,2,2,7,1,0,1,9,9] + [8,2,5,6] , A=[4,1] , C=0 , 9+6+0=15 , A->5 , C->1
[8,2,9,5,0,7,3,2,2,7,1,0,1,9] + [8,2,5] , A=[5,4,1] , C=1 , 9+5+1=15 , A->5 , C->1
[8,2,9,5,0,7,3,2,2,7,1,0,1] + [8,2] , A=[5,5,4,1] , C=1 , 1+2+1=4 , A->4 , C->0
[8,2,9,5,0,7,3,2,2,7,1,0] + [8] , A=[4,5,5,4,1] , C=0 , 0+8+0=8 , A->8 , C->0
[8,2,9,5,0,7,3,2,2,7,1] + [] , A=[8,4,5,5,4,1] , C=0 , 1+0+0=1 , A->1 , C->0
[8,2,9,5,0,7,3,2,2,7] + [] , A=[1,8,4,5,5,4,1] , C=0 , 7+0+0=7 , A->7 , C->0
[8,2,9,5,0,7,3,2,2] + [] , A=[7,1,8,4,5,5,4,1] , C=0 , 2+0+0=2 , A->2 , C->0
[8,2,9,5,0,7,3,2] + [] , A=[2,7,1,8,4,5,5,4,1] , C=0 , 2+0+0=2 , A->2 , C->0
[8,2,9,5,0,7,3] + [] , A=[2,2,7,1,8,4,5,5,4,1] , C=0 , 3+0+0=3 , A->3 , C->0
[8,2,9,5,0,7] + [] , A=[3,2,2,7,1,8,4,5,5,4,1] , C=0 , 7+0+0=7 , A->7 , C->0
[8,2,9,5,0] + [] , A=[7,3,2,2,7,1,8,4,5,5,4,1] , C=0 , 0+0+0=0 , A->0 , C->0
[8,2,9,5] + [] , A=[0,7,3,2,2,7,1,8,4,5,5,4,1] , C=0 , 5+0+0=5 , A->5 , C->0
[8,2,9] + [] , A=[5,0,7,3,2,2,7,1,8,4,5,5,4,1] , C=0 , 9+0+0=9 , A->9 , C->0
[8,2] + [] , A=[9,5,0,7,3,2,2,7,1,8,4,5,5,4,1] , C=0 , 2+0+0=2 , A->2 , C->0
[8] + [] , A=[2,9,5,0,7,3,2,2,7,1,8,4,5,5,4,1] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,2,9,5,0,7,3,2,2,7,1,8,4,5,5,4,1] C=0 , END
</scratch>
82950732271845541
| 82950732271845541 | 6 |
Input:
24322887450093875+38556903859689
Target:
| Input:
24322887450093875+38556903859689
Target:
[2,4,3,2,2,8,8,7,4,5,0,0,9,3,8,7,5] + [3,8,5,5,6,9,0,3,8,5,9,6,8,9] , A=[] , C=0 , 5+9+0=14 , A->4 , C->1
[2,4,3,2,2,8,8,7,4,5,0,0,9,3,8,7] + [3,8,5,5,6,9,0,3,8,5,9,6,8] , A=[4] , C=1 , 7+8+1=16 , A->6 , C->1
[2,4,3,2,2,8,8,7,4,5,0,0,9,3,8] + [3,8,5,5,6,9,0,3,8,5,9,6] , A=[6,4] , C=1 , 8+6+1=15 , A->5 , C->1
[2,4,3,2,2,8,8,7,4,5,0,0,9,3] + [3,8,5,5,6,9,0,3,8,5,9] , A=[5,6,4] , C=1 , 3+9+1=13 , A->3 , C->1
[2,4,3,2,2,8,8,7,4,5,0,0,9] + [3,8,5,5,6,9,0,3,8,5] , A=[3,5,6,4] , C=1 , 9+5+1=15 , A->5 , C->1
[2,4,3,2,2,8,8,7,4,5,0,0] + [3,8,5,5,6,9,0,3,8] , A=[5,3,5,6,4] , C=1 , 0+8+1=9 , A->9 , C->0
[2,4,3,2,2,8,8,7,4,5,0] + [3,8,5,5,6,9,0,3] , A=[9,5,3,5,6,4] , C=0 , 0+3+0=3 , A->3 , C->0
[2,4,3,2,2,8,8,7,4,5] + [3,8,5,5,6,9,0] , A=[3,9,5,3,5,6,4] , C=0 , 5+0+0=5 , A->5 , C->0
[2,4,3,2,2,8,8,7,4] + [3,8,5,5,6,9] , A=[5,3,9,5,3,5,6,4] , C=0 , 4+9+0=13 , A->3 , C->1
[2,4,3,2,2,8,8,7] + [3,8,5,5,6] , A=[3,5,3,9,5,3,5,6,4] , C=1 , 7+6+1=14 , A->4 , C->1
[2,4,3,2,2,8,8] + [3,8,5,5] , A=[4,3,5,3,9,5,3,5,6,4] , C=1 , 8+5+1=14 , A->4 , C->1
[2,4,3,2,2,8] + [3,8,5] , A=[4,4,3,5,3,9,5,3,5,6,4] , C=1 , 8+5+1=14 , A->4 , C->1
[2,4,3,2,2] + [3,8] , A=[4,4,4,3,5,3,9,5,3,5,6,4] , C=1 , 2+8+1=11 , A->1 , C->1
[2,4,3,2] + [3] , A=[1,4,4,4,3,5,3,9,5,3,5,6,4] , C=1 , 2+3+1=6 , A->6 , C->0
[2,4,3] + [] , A=[6,1,4,4,4,3,5,3,9,5,3,5,6,4] , C=0 , 3+0+0=3 , A->3 , C->0
[2,4] + [] , A=[3,6,1,4,4,4,3,5,3,9,5,3,5,6,4] , C=0 , 4+0+0=4 , A->4 , C->0
[2] + [] , A=[4,3,6,1,4,4,4,3,5,3,9,5,3,5,6,4] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,4,3,6,1,4,4,4,3,5,3,9,5,3,5,6,4] C=0 , END
</scratch>
24361444353953564
| 24361444353953564 | 14 |
Input:
21806222035114005+6612589
Target:
| Input:
21806222035114005+6612589
Target:
[2,1,8,0,6,2,2,2,0,3,5,1,1,4,0,0,5] + [6,6,1,2,5,8,9] , A=[] , C=0 , 5+9+0=14 , A->4 , C->1
[2,1,8,0,6,2,2,2,0,3,5,1,1,4,0,0] + [6,6,1,2,5,8] , A=[4] , C=1 , 0+8+1=9 , A->9 , C->0
[2,1,8,0,6,2,2,2,0,3,5,1,1,4,0] + [6,6,1,2,5] , A=[9,4] , C=0 , 0+5+0=5 , A->5 , C->0
[2,1,8,0,6,2,2,2,0,3,5,1,1,4] + [6,6,1,2] , A=[5,9,4] , C=0 , 4+2+0=6 , A->6 , C->0
[2,1,8,0,6,2,2,2,0,3,5,1,1] + [6,6,1] , A=[6,5,9,4] , C=0 , 1+1+0=2 , A->2 , C->0
[2,1,8,0,6,2,2,2,0,3,5,1] + [6,6] , A=[2,6,5,9,4] , C=0 , 1+6+0=7 , A->7 , C->0
[2,1,8,0,6,2,2,2,0,3,5] + [6] , A=[7,2,6,5,9,4] , C=0 , 5+6+0=11 , A->1 , C->1
[2,1,8,0,6,2,2,2,0,3] + [] , A=[1,7,2,6,5,9,4] , C=1 , 3+0+1=4 , A->4 , C->0
[2,1,8,0,6,2,2,2,0] + [] , A=[4,1,7,2,6,5,9,4] , C=0 , 0+0+0=0 , A->0 , C->0
[2,1,8,0,6,2,2,2] + [] , A=[0,4,1,7,2,6,5,9,4] , C=0 , 2+0+0=2 , A->2 , C->0
[2,1,8,0,6,2,2] + [] , A=[2,0,4,1,7,2,6,5,9,4] , C=0 , 2+0+0=2 , A->2 , C->0
[2,1,8,0,6,2] + [] , A=[2,2,0,4,1,7,2,6,5,9,4] , C=0 , 2+0+0=2 , A->2 , C->0
[2,1,8,0,6] + [] , A=[2,2,2,0,4,1,7,2,6,5,9,4] , C=0 , 6+0+0=6 , A->6 , C->0
[2,1,8,0] + [] , A=[6,2,2,2,0,4,1,7,2,6,5,9,4] , C=0 , 0+0+0=0 , A->0 , C->0
[2,1,8] + [] , A=[0,6,2,2,2,0,4,1,7,2,6,5,9,4] , C=0 , 8+0+0=8 , A->8 , C->0
[2,1] + [] , A=[8,0,6,2,2,2,0,4,1,7,2,6,5,9,4] , C=0 , 1+0+0=1 , A->1 , C->0
[2] + [] , A=[1,8,0,6,2,2,2,0,4,1,7,2,6,5,9,4] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,1,8,0,6,2,2,2,0,4,1,7,2,6,5,9,4] C=0 , END
</scratch>
21806222041726594
| 21806222041726594 | 7 |
Input:
21+60313791179794874
Target:
| Input:
21+60313791179794874
Target:
[2,1] + [6,0,3,1,3,7,9,1,1,7,9,7,9,4,8,7,4] , A=[] , C=0 , 1+4+0=5 , A->5 , C->0
[2] + [6,0,3,1,3,7,9,1,1,7,9,7,9,4,8,7] , A=[5] , C=0 , 2+7+0=9 , A->9 , C->0
[] + [6,0,3,1,3,7,9,1,1,7,9,7,9,4,8] , A=[9,5] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [6,0,3,1,3,7,9,1,1,7,9,7,9,4] , A=[8,9,5] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6,0,3,1,3,7,9,1,1,7,9,7,9] , A=[4,8,9,5] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [6,0,3,1,3,7,9,1,1,7,9,7] , A=[9,4,8,9,5] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,0,3,1,3,7,9,1,1,7,9] , A=[7,9,4,8,9,5] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [6,0,3,1,3,7,9,1,1,7] , A=[9,7,9,4,8,9,5] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,0,3,1,3,7,9,1,1] , A=[7,9,7,9,4,8,9,5] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [6,0,3,1,3,7,9,1] , A=[1,7,9,7,9,4,8,9,5] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [6,0,3,1,3,7,9] , A=[1,1,7,9,7,9,4,8,9,5] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [6,0,3,1,3,7] , A=[9,1,1,7,9,7,9,4,8,9,5] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,0,3,1,3] , A=[7,9,1,1,7,9,7,9,4,8,9,5] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [6,0,3,1] , A=[3,7,9,1,1,7,9,7,9,4,8,9,5] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [6,0,3] , A=[1,3,7,9,1,1,7,9,7,9,4,8,9,5] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [6,0] , A=[3,1,3,7,9,1,1,7,9,7,9,4,8,9,5] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [6] , A=[0,3,1,3,7,9,1,1,7,9,7,9,4,8,9,5] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,0,3,1,3,7,9,1,1,7,9,7,9,4,8,9,5] C=0 , END
</scratch>
60313791179794895
| 60313791179794895 | 2 |
Input:
65098833612754585+56040586165977502
Target:
| Input:
65098833612754585+56040586165977502
Target:
[6,5,0,9,8,8,3,3,6,1,2,7,5,4,5,8,5] + [5,6,0,4,0,5,8,6,1,6,5,9,7,7,5,0,2] , A=[] , C=0 , 5+2+0=7 , A->7 , C->0
[6,5,0,9,8,8,3,3,6,1,2,7,5,4,5,8] + [5,6,0,4,0,5,8,6,1,6,5,9,7,7,5,0] , A=[7] , C=0 , 8+0+0=8 , A->8 , C->0
[6,5,0,9,8,8,3,3,6,1,2,7,5,4,5] + [5,6,0,4,0,5,8,6,1,6,5,9,7,7,5] , A=[8,7] , C=0 , 5+5+0=10 , A->0 , C->1
[6,5,0,9,8,8,3,3,6,1,2,7,5,4] + [5,6,0,4,0,5,8,6,1,6,5,9,7,7] , A=[0,8,7] , C=1 , 4+7+1=12 , A->2 , C->1
[6,5,0,9,8,8,3,3,6,1,2,7,5] + [5,6,0,4,0,5,8,6,1,6,5,9,7] , A=[2,0,8,7] , C=1 , 5+7+1=13 , A->3 , C->1
[6,5,0,9,8,8,3,3,6,1,2,7] + [5,6,0,4,0,5,8,6,1,6,5,9] , A=[3,2,0,8,7] , C=1 , 7+9+1=17 , A->7 , C->1
[6,5,0,9,8,8,3,3,6,1,2] + [5,6,0,4,0,5,8,6,1,6,5] , A=[7,3,2,0,8,7] , C=1 , 2+5+1=8 , A->8 , C->0
[6,5,0,9,8,8,3,3,6,1] + [5,6,0,4,0,5,8,6,1,6] , A=[8,7,3,2,0,8,7] , C=0 , 1+6+0=7 , A->7 , C->0
[6,5,0,9,8,8,3,3,6] + [5,6,0,4,0,5,8,6,1] , A=[7,8,7,3,2,0,8,7] , C=0 , 6+1+0=7 , A->7 , C->0
[6,5,0,9,8,8,3,3] + [5,6,0,4,0,5,8,6] , A=[7,7,8,7,3,2,0,8,7] , C=0 , 3+6+0=9 , A->9 , C->0
[6,5,0,9,8,8,3] + [5,6,0,4,0,5,8] , A=[9,7,7,8,7,3,2,0,8,7] , C=0 , 3+8+0=11 , A->1 , C->1
[6,5,0,9,8,8] + [5,6,0,4,0,5] , A=[1,9,7,7,8,7,3,2,0,8,7] , C=1 , 8+5+1=14 , A->4 , C->1
[6,5,0,9,8] + [5,6,0,4,0] , A=[4,1,9,7,7,8,7,3,2,0,8,7] , C=1 , 8+0+1=9 , A->9 , C->0
[6,5,0,9] + [5,6,0,4] , A=[9,4,1,9,7,7,8,7,3,2,0,8,7] , C=0 , 9+4+0=13 , A->3 , C->1
[6,5,0] + [5,6,0] , A=[3,9,4,1,9,7,7,8,7,3,2,0,8,7] , C=1 , 0+0+1=1 , A->1 , C->0
[6,5] + [5,6] , A=[1,3,9,4,1,9,7,7,8,7,3,2,0,8,7] , C=0 , 5+6+0=11 , A->1 , C->1
[6] + [5] , A=[1,1,3,9,4,1,9,7,7,8,7,3,2,0,8,7] , C=1 , 6+5+1=12 , A->2 , C->1
[] + [] , A=[2,1,1,3,9,4,1,9,7,7,8,7,3,2,0,8,7] C=1 , END
</scratch>
121139419778732087
| 121139419778732087 | 17 |
Input:
88900718411075601+369680
Target:
| Input:
88900718411075601+369680
Target:
[8,8,9,0,0,7,1,8,4,1,1,0,7,5,6,0,1] + [3,6,9,6,8,0] , A=[] , C=0 , 1+0+0=1 , A->1 , C->0
[8,8,9,0,0,7,1,8,4,1,1,0,7,5,6,0] + [3,6,9,6,8] , A=[1] , C=0 , 0+8+0=8 , A->8 , C->0
[8,8,9,0,0,7,1,8,4,1,1,0,7,5,6] + [3,6,9,6] , A=[8,1] , C=0 , 6+6+0=12 , A->2 , C->1
[8,8,9,0,0,7,1,8,4,1,1,0,7,5] + [3,6,9] , A=[2,8,1] , C=1 , 5+9+1=15 , A->5 , C->1
[8,8,9,0,0,7,1,8,4,1,1,0,7] + [3,6] , A=[5,2,8,1] , C=1 , 7+6+1=14 , A->4 , C->1
[8,8,9,0,0,7,1,8,4,1,1,0] + [3] , A=[4,5,2,8,1] , C=1 , 0+3+1=4 , A->4 , C->0
[8,8,9,0,0,7,1,8,4,1,1] + [] , A=[4,4,5,2,8,1] , C=0 , 1+0+0=1 , A->1 , C->0
[8,8,9,0,0,7,1,8,4,1] + [] , A=[1,4,4,5,2,8,1] , C=0 , 1+0+0=1 , A->1 , C->0
[8,8,9,0,0,7,1,8,4] + [] , A=[1,1,4,4,5,2,8,1] , C=0 , 4+0+0=4 , A->4 , C->0
[8,8,9,0,0,7,1,8] + [] , A=[4,1,1,4,4,5,2,8,1] , C=0 , 8+0+0=8 , A->8 , C->0
[8,8,9,0,0,7,1] + [] , A=[8,4,1,1,4,4,5,2,8,1] , C=0 , 1+0+0=1 , A->1 , C->0
[8,8,9,0,0,7] + [] , A=[1,8,4,1,1,4,4,5,2,8,1] , C=0 , 7+0+0=7 , A->7 , C->0
[8,8,9,0,0] + [] , A=[7,1,8,4,1,1,4,4,5,2,8,1] , C=0 , 0+0+0=0 , A->0 , C->0
[8,8,9,0] + [] , A=[0,7,1,8,4,1,1,4,4,5,2,8,1] , C=0 , 0+0+0=0 , A->0 , C->0
[8,8,9] + [] , A=[0,0,7,1,8,4,1,1,4,4,5,2,8,1] , C=0 , 9+0+0=9 , A->9 , C->0
[8,8] + [] , A=[9,0,0,7,1,8,4,1,1,4,4,5,2,8,1] , C=0 , 8+0+0=8 , A->8 , C->0
[8] + [] , A=[8,9,0,0,7,1,8,4,1,1,4,4,5,2,8,1] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,8,9,0,0,7,1,8,4,1,1,4,4,5,2,8,1] C=0 , END
</scratch>
88900718411445281
| 88900718411445281 | 6 |
Input:
14329+40104613623276495
Target:
| Input:
14329+40104613623276495
Target:
[1,4,3,2,9] + [4,0,1,0,4,6,1,3,6,2,3,2,7,6,4,9,5] , A=[] , C=0 , 9+5+0=14 , A->4 , C->1
[1,4,3,2] + [4,0,1,0,4,6,1,3,6,2,3,2,7,6,4,9] , A=[4] , C=1 , 2+9+1=12 , A->2 , C->1
[1,4,3] + [4,0,1,0,4,6,1,3,6,2,3,2,7,6,4] , A=[2,4] , C=1 , 3+4+1=8 , A->8 , C->0
[1,4] + [4,0,1,0,4,6,1,3,6,2,3,2,7,6] , A=[8,2,4] , C=0 , 4+6+0=10 , A->0 , C->1
[1] + [4,0,1,0,4,6,1,3,6,2,3,2,7] , A=[0,8,2,4] , C=1 , 1+7+1=9 , A->9 , C->0
[] + [4,0,1,0,4,6,1,3,6,2,3,2] , A=[9,0,8,2,4] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [4,0,1,0,4,6,1,3,6,2,3] , A=[2,9,0,8,2,4] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [4,0,1,0,4,6,1,3,6,2] , A=[3,2,9,0,8,2,4] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [4,0,1,0,4,6,1,3,6] , A=[2,3,2,9,0,8,2,4] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [4,0,1,0,4,6,1,3] , A=[6,2,3,2,9,0,8,2,4] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [4,0,1,0,4,6,1] , A=[3,6,2,3,2,9,0,8,2,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [4,0,1,0,4,6] , A=[1,3,6,2,3,2,9,0,8,2,4] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [4,0,1,0,4] , A=[6,1,3,6,2,3,2,9,0,8,2,4] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [4,0,1,0] , A=[4,6,1,3,6,2,3,2,9,0,8,2,4] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [4,0,1] , A=[0,4,6,1,3,6,2,3,2,9,0,8,2,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [4,0] , A=[1,0,4,6,1,3,6,2,3,2,9,0,8,2,4] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [4] , A=[0,1,0,4,6,1,3,6,2,3,2,9,0,8,2,4] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,0,1,0,4,6,1,3,6,2,3,2,9,0,8,2,4] C=0 , END
</scratch>
40104613623290824
| 40104613623290824 | 5 |
Input:
32345055443274698+3646427174
Target:
| Input:
32345055443274698+3646427174
Target:
[3,2,3,4,5,0,5,5,4,4,3,2,7,4,6,9,8] + [3,6,4,6,4,2,7,1,7,4] , A=[] , C=0 , 8+4+0=12 , A->2 , C->1
[3,2,3,4,5,0,5,5,4,4,3,2,7,4,6,9] + [3,6,4,6,4,2,7,1,7] , A=[2] , C=1 , 9+7+1=17 , A->7 , C->1
[3,2,3,4,5,0,5,5,4,4,3,2,7,4,6] + [3,6,4,6,4,2,7,1] , A=[7,2] , C=1 , 6+1+1=8 , A->8 , C->0
[3,2,3,4,5,0,5,5,4,4,3,2,7,4] + [3,6,4,6,4,2,7] , A=[8,7,2] , C=0 , 4+7+0=11 , A->1 , C->1
[3,2,3,4,5,0,5,5,4,4,3,2,7] + [3,6,4,6,4,2] , A=[1,8,7,2] , C=1 , 7+2+1=10 , A->0 , C->1
[3,2,3,4,5,0,5,5,4,4,3,2] + [3,6,4,6,4] , A=[0,1,8,7,2] , C=1 , 2+4+1=7 , A->7 , C->0
[3,2,3,4,5,0,5,5,4,4,3] + [3,6,4,6] , A=[7,0,1,8,7,2] , C=0 , 3+6+0=9 , A->9 , C->0
[3,2,3,4,5,0,5,5,4,4] + [3,6,4] , A=[9,7,0,1,8,7,2] , C=0 , 4+4+0=8 , A->8 , C->0
[3,2,3,4,5,0,5,5,4] + [3,6] , A=[8,9,7,0,1,8,7,2] , C=0 , 4+6+0=10 , A->0 , C->1
[3,2,3,4,5,0,5,5] + [3] , A=[0,8,9,7,0,1,8,7,2] , C=1 , 5+3+1=9 , A->9 , C->0
[3,2,3,4,5,0,5] + [] , A=[9,0,8,9,7,0,1,8,7,2] , C=0 , 5+0+0=5 , A->5 , C->0
[3,2,3,4,5,0] + [] , A=[5,9,0,8,9,7,0,1,8,7,2] , C=0 , 0+0+0=0 , A->0 , C->0
[3,2,3,4,5] + [] , A=[0,5,9,0,8,9,7,0,1,8,7,2] , C=0 , 5+0+0=5 , A->5 , C->0
[3,2,3,4] + [] , A=[5,0,5,9,0,8,9,7,0,1,8,7,2] , C=0 , 4+0+0=4 , A->4 , C->0
[3,2,3] + [] , A=[4,5,0,5,9,0,8,9,7,0,1,8,7,2] , C=0 , 3+0+0=3 , A->3 , C->0
[3,2] + [] , A=[3,4,5,0,5,9,0,8,9,7,0,1,8,7,2] , C=0 , 2+0+0=2 , A->2 , C->0
[3] + [] , A=[2,3,4,5,0,5,9,0,8,9,7,0,1,8,7,2] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,2,3,4,5,0,5,9,0,8,9,7,0,1,8,7,2] C=0 , END
</scratch>
32345059089701872
| 32345059089701872 | 10 |
Input:
89628728167121447+9197323199
Target:
| Input:
89628728167121447+9197323199
Target:
[8,9,6,2,8,7,2,8,1,6,7,1,2,1,4,4,7] + [9,1,9,7,3,2,3,1,9,9] , A=[] , C=0 , 7+9+0=16 , A->6 , C->1
[8,9,6,2,8,7,2,8,1,6,7,1,2,1,4,4] + [9,1,9,7,3,2,3,1,9] , A=[6] , C=1 , 4+9+1=14 , A->4 , C->1
[8,9,6,2,8,7,2,8,1,6,7,1,2,1,4] + [9,1,9,7,3,2,3,1] , A=[4,6] , C=1 , 4+1+1=6 , A->6 , C->0
[8,9,6,2,8,7,2,8,1,6,7,1,2,1] + [9,1,9,7,3,2,3] , A=[6,4,6] , C=0 , 1+3+0=4 , A->4 , C->0
[8,9,6,2,8,7,2,8,1,6,7,1,2] + [9,1,9,7,3,2] , A=[4,6,4,6] , C=0 , 2+2+0=4 , A->4 , C->0
[8,9,6,2,8,7,2,8,1,6,7,1] + [9,1,9,7,3] , A=[4,4,6,4,6] , C=0 , 1+3+0=4 , A->4 , C->0
[8,9,6,2,8,7,2,8,1,6,7] + [9,1,9,7] , A=[4,4,4,6,4,6] , C=0 , 7+7+0=14 , A->4 , C->1
[8,9,6,2,8,7,2,8,1,6] + [9,1,9] , A=[4,4,4,4,6,4,6] , C=1 , 6+9+1=16 , A->6 , C->1
[8,9,6,2,8,7,2,8,1] + [9,1] , A=[6,4,4,4,4,6,4,6] , C=1 , 1+1+1=3 , A->3 , C->0
[8,9,6,2,8,7,2,8] + [9] , A=[3,6,4,4,4,4,6,4,6] , C=0 , 8+9+0=17 , A->7 , C->1
[8,9,6,2,8,7,2] + [] , A=[7,3,6,4,4,4,4,6,4,6] , C=1 , 2+0+1=3 , A->3 , C->0
[8,9,6,2,8,7] + [] , A=[3,7,3,6,4,4,4,4,6,4,6] , C=0 , 7+0+0=7 , A->7 , C->0
[8,9,6,2,8] + [] , A=[7,3,7,3,6,4,4,4,4,6,4,6] , C=0 , 8+0+0=8 , A->8 , C->0
[8,9,6,2] + [] , A=[8,7,3,7,3,6,4,4,4,4,6,4,6] , C=0 , 2+0+0=2 , A->2 , C->0
[8,9,6] + [] , A=[2,8,7,3,7,3,6,4,4,4,4,6,4,6] , C=0 , 6+0+0=6 , A->6 , C->0
[8,9] + [] , A=[6,2,8,7,3,7,3,6,4,4,4,4,6,4,6] , C=0 , 9+0+0=9 , A->9 , C->0
[8] + [] , A=[9,6,2,8,7,3,7,3,6,4,4,4,4,6,4,6] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,9,6,2,8,7,3,7,3,6,4,4,4,4,6,4,6] C=0 , END
</scratch>
89628737364444646
| 89628737364444646 | 10 |
Input:
88709873055991393+285
Target:
| Input:
88709873055991393+285
Target:
[8,8,7,0,9,8,7,3,0,5,5,9,9,1,3,9,3] + [2,8,5] , A=[] , C=0 , 3+5+0=8 , A->8 , C->0
[8,8,7,0,9,8,7,3,0,5,5,9,9,1,3,9] + [2,8] , A=[8] , C=0 , 9+8+0=17 , A->7 , C->1
[8,8,7,0,9,8,7,3,0,5,5,9,9,1,3] + [2] , A=[7,8] , C=1 , 3+2+1=6 , A->6 , C->0
[8,8,7,0,9,8,7,3,0,5,5,9,9,1] + [] , A=[6,7,8] , C=0 , 1+0+0=1 , A->1 , C->0
[8,8,7,0,9,8,7,3,0,5,5,9,9] + [] , A=[1,6,7,8] , C=0 , 9+0+0=9 , A->9 , C->0
[8,8,7,0,9,8,7,3,0,5,5,9] + [] , A=[9,1,6,7,8] , C=0 , 9+0+0=9 , A->9 , C->0
[8,8,7,0,9,8,7,3,0,5,5] + [] , A=[9,9,1,6,7,8] , C=0 , 5+0+0=5 , A->5 , C->0
[8,8,7,0,9,8,7,3,0,5] + [] , A=[5,9,9,1,6,7,8] , C=0 , 5+0+0=5 , A->5 , C->0
[8,8,7,0,9,8,7,3,0] + [] , A=[5,5,9,9,1,6,7,8] , C=0 , 0+0+0=0 , A->0 , C->0
[8,8,7,0,9,8,7,3] + [] , A=[0,5,5,9,9,1,6,7,8] , C=0 , 3+0+0=3 , A->3 , C->0
[8,8,7,0,9,8,7] + [] , A=[3,0,5,5,9,9,1,6,7,8] , C=0 , 7+0+0=7 , A->7 , C->0
[8,8,7,0,9,8] + [] , A=[7,3,0,5,5,9,9,1,6,7,8] , C=0 , 8+0+0=8 , A->8 , C->0
[8,8,7,0,9] + [] , A=[8,7,3,0,5,5,9,9,1,6,7,8] , C=0 , 9+0+0=9 , A->9 , C->0
[8,8,7,0] + [] , A=[9,8,7,3,0,5,5,9,9,1,6,7,8] , C=0 , 0+0+0=0 , A->0 , C->0
[8,8,7] + [] , A=[0,9,8,7,3,0,5,5,9,9,1,6,7,8] , C=0 , 7+0+0=7 , A->7 , C->0
[8,8] + [] , A=[7,0,9,8,7,3,0,5,5,9,9,1,6,7,8] , C=0 , 8+0+0=8 , A->8 , C->0
[8] + [] , A=[8,7,0,9,8,7,3,0,5,5,9,9,1,6,7,8] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,8,7,0,9,8,7,3,0,5,5,9,9,1,6,7,8] C=0 , END
</scratch>
88709873055991678
| 88709873055991678 | 3 |
Input:
601652634+14640998114396938
Target:
| Input:
601652634+14640998114396938
Target:
[6,0,1,6,5,2,6,3,4] + [1,4,6,4,0,9,9,8,1,1,4,3,9,6,9,3,8] , A=[] , C=0 , 4+8+0=12 , A->2 , C->1
[6,0,1,6,5,2,6,3] + [1,4,6,4,0,9,9,8,1,1,4,3,9,6,9,3] , A=[2] , C=1 , 3+3+1=7 , A->7 , C->0
[6,0,1,6,5,2,6] + [1,4,6,4,0,9,9,8,1,1,4,3,9,6,9] , A=[7,2] , C=0 , 6+9+0=15 , A->5 , C->1
[6,0,1,6,5,2] + [1,4,6,4,0,9,9,8,1,1,4,3,9,6] , A=[5,7,2] , C=1 , 2+6+1=9 , A->9 , C->0
[6,0,1,6,5] + [1,4,6,4,0,9,9,8,1,1,4,3,9] , A=[9,5,7,2] , C=0 , 5+9+0=14 , A->4 , C->1
[6,0,1,6] + [1,4,6,4,0,9,9,8,1,1,4,3] , A=[4,9,5,7,2] , C=1 , 6+3+1=10 , A->0 , C->1
[6,0,1] + [1,4,6,4,0,9,9,8,1,1,4] , A=[0,4,9,5,7,2] , C=1 , 1+4+1=6 , A->6 , C->0
[6,0] + [1,4,6,4,0,9,9,8,1,1] , A=[6,0,4,9,5,7,2] , C=0 , 0+1+0=1 , A->1 , C->0
[6] + [1,4,6,4,0,9,9,8,1] , A=[1,6,0,4,9,5,7,2] , C=0 , 6+1+0=7 , A->7 , C->0
[] + [1,4,6,4,0,9,9,8] , A=[7,1,6,0,4,9,5,7,2] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [1,4,6,4,0,9,9] , A=[8,7,1,6,0,4,9,5,7,2] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [1,4,6,4,0,9] , A=[9,8,7,1,6,0,4,9,5,7,2] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [1,4,6,4,0] , A=[9,9,8,7,1,6,0,4,9,5,7,2] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [1,4,6,4] , A=[0,9,9,8,7,1,6,0,4,9,5,7,2] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1,4,6] , A=[4,0,9,9,8,7,1,6,0,4,9,5,7,2] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [1,4] , A=[6,4,0,9,9,8,7,1,6,0,4,9,5,7,2] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1] , A=[4,6,4,0,9,9,8,7,1,6,0,4,9,5,7,2] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,4,6,4,0,9,9,8,7,1,6,0,4,9,5,7,2] C=0 , END
</scratch>
14640998716049572
| 14640998716049572 | 9 |
Input:
4813674+68657723266630966
Target:
| Input:
4813674+68657723266630966
Target:
[4,8,1,3,6,7,4] + [6,8,6,5,7,7,2,3,2,6,6,6,3,0,9,6,6] , A=[] , C=0 , 4+6+0=10 , A->0 , C->1
[4,8,1,3,6,7] + [6,8,6,5,7,7,2,3,2,6,6,6,3,0,9,6] , A=[0] , C=1 , 7+6+1=14 , A->4 , C->1
[4,8,1,3,6] + [6,8,6,5,7,7,2,3,2,6,6,6,3,0,9] , A=[4,0] , C=1 , 6+9+1=16 , A->6 , C->1
[4,8,1,3] + [6,8,6,5,7,7,2,3,2,6,6,6,3,0] , A=[6,4,0] , C=1 , 3+0+1=4 , A->4 , C->0
[4,8,1] + [6,8,6,5,7,7,2,3,2,6,6,6,3] , A=[4,6,4,0] , C=0 , 1+3+0=4 , A->4 , C->0
[4,8] + [6,8,6,5,7,7,2,3,2,6,6,6] , A=[4,4,6,4,0] , C=0 , 8+6+0=14 , A->4 , C->1
[4] + [6,8,6,5,7,7,2,3,2,6,6] , A=[4,4,4,6,4,0] , C=1 , 4+6+1=11 , A->1 , C->1
[] + [6,8,6,5,7,7,2,3,2,6] , A=[1,4,4,4,6,4,0] , C=1 , 0+6+1=7 , A->7 , C->0
[] + [6,8,6,5,7,7,2,3,2] , A=[7,1,4,4,4,6,4,0] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [6,8,6,5,7,7,2,3] , A=[2,7,1,4,4,4,6,4,0] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [6,8,6,5,7,7,2] , A=[3,2,7,1,4,4,4,6,4,0] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [6,8,6,5,7,7] , A=[2,3,2,7,1,4,4,4,6,4,0] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,8,6,5,7] , A=[7,2,3,2,7,1,4,4,4,6,4,0] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,8,6,5] , A=[7,7,2,3,2,7,1,4,4,4,6,4,0] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [6,8,6] , A=[5,7,7,2,3,2,7,1,4,4,4,6,4,0] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [6,8] , A=[6,5,7,7,2,3,2,7,1,4,4,4,6,4,0] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [6] , A=[8,6,5,7,7,2,3,2,7,1,4,4,4,6,4,0] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,8,6,5,7,7,2,3,2,7,1,4,4,4,6,4,0] C=0 , END
</scratch>
68657723271444640
| 68657723271444640 | 7 |
Input:
830323325466+30130175054534249
Target:
| Input:
830323325466+30130175054534249
Target:
[8,3,0,3,2,3,3,2,5,4,6,6] + [3,0,1,3,0,1,7,5,0,5,4,5,3,4,2,4,9] , A=[] , C=0 , 6+9+0=15 , A->5 , C->1
[8,3,0,3,2,3,3,2,5,4,6] + [3,0,1,3,0,1,7,5,0,5,4,5,3,4,2,4] , A=[5] , C=1 , 6+4+1=11 , A->1 , C->1
[8,3,0,3,2,3,3,2,5,4] + [3,0,1,3,0,1,7,5,0,5,4,5,3,4,2] , A=[1,5] , C=1 , 4+2+1=7 , A->7 , C->0
[8,3,0,3,2,3,3,2,5] + [3,0,1,3,0,1,7,5,0,5,4,5,3,4] , A=[7,1,5] , C=0 , 5+4+0=9 , A->9 , C->0
[8,3,0,3,2,3,3,2] + [3,0,1,3,0,1,7,5,0,5,4,5,3] , A=[9,7,1,5] , C=0 , 2+3+0=5 , A->5 , C->0
[8,3,0,3,2,3,3] + [3,0,1,3,0,1,7,5,0,5,4,5] , A=[5,9,7,1,5] , C=0 , 3+5+0=8 , A->8 , C->0
[8,3,0,3,2,3] + [3,0,1,3,0,1,7,5,0,5,4] , A=[8,5,9,7,1,5] , C=0 , 3+4+0=7 , A->7 , C->0
[8,3,0,3,2] + [3,0,1,3,0,1,7,5,0,5] , A=[7,8,5,9,7,1,5] , C=0 , 2+5+0=7 , A->7 , C->0
[8,3,0,3] + [3,0,1,3,0,1,7,5,0] , A=[7,7,8,5,9,7,1,5] , C=0 , 3+0+0=3 , A->3 , C->0
[8,3,0] + [3,0,1,3,0,1,7,5] , A=[3,7,7,8,5,9,7,1,5] , C=0 , 0+5+0=5 , A->5 , C->0
[8,3] + [3,0,1,3,0,1,7] , A=[5,3,7,7,8,5,9,7,1,5] , C=0 , 3+7+0=10 , A->0 , C->1
[8] + [3,0,1,3,0,1] , A=[0,5,3,7,7,8,5,9,7,1,5] , C=1 , 8+1+1=10 , A->0 , C->1
[] + [3,0,1,3,0] , A=[0,0,5,3,7,7,8,5,9,7,1,5] , C=1 , 0+0+1=1 , A->1 , C->0
[] + [3,0,1,3] , A=[1,0,0,5,3,7,7,8,5,9,7,1,5] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [3,0,1] , A=[3,1,0,0,5,3,7,7,8,5,9,7,1,5] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [3,0] , A=[1,3,1,0,0,5,3,7,7,8,5,9,7,1,5] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [3] , A=[0,1,3,1,0,0,5,3,7,7,8,5,9,7,1,5] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [] , A=[3,0,1,3,1,0,0,5,3,7,7,8,5,9,7,1,5] C=0 , END
</scratch>
30131005377859715
| 30131005377859715 | 12 |