input_test
stringlengths
34
49
scratchpad
stringlengths
1.32k
1.6k
result_final
stringlengths
16
17
y_digits
int64
1
16
Input: 72580274888726+2154085546060627 Target:
Input: 72580274888726+2154085546060627 Target: [7,2,5,8,0,2,7,4,8,8,8,7,2,6] + [2,1,5,4,0,8,5,5,4,6,0,6,0,6,2,7] , A=[] , C=0 , 6+7+0=13 , A->3 , C->1 [7,2,5,8,0,2,7,4,8,8,8,7,2] + [2,1,5,4,0,8,5,5,4,6,0,6,0,6,2] , A=[3] , C=1 , 2+2+1=5 , A->5 , C->0 [7,2,5,8,0,2,7,4,8,8,8,7] + [2,1,5,4,0,8,5,5,4,6,0,6,0,6] , A=[5,3] , C=0 , 7+6+0=13 , A->3 , C->1 [7,2,5,8,0,2,7,4,8,8,8] + [2,1,5,4,0,8,5,5,4,6,0,6,0] , A=[3,5,3] , C=1 , 8+0+1=9 , A->9 , C->0 [7,2,5,8,0,2,7,4,8,8] + [2,1,5,4,0,8,5,5,4,6,0,6] , A=[9,3,5,3] , C=0 , 8+6+0=14 , A->4 , C->1 [7,2,5,8,0,2,7,4,8] + [2,1,5,4,0,8,5,5,4,6,0] , A=[4,9,3,5,3] , C=1 , 8+0+1=9 , A->9 , C->0 [7,2,5,8,0,2,7,4] + [2,1,5,4,0,8,5,5,4,6] , A=[9,4,9,3,5,3] , C=0 , 4+6+0=10 , A->0 , C->1 [7,2,5,8,0,2,7] + [2,1,5,4,0,8,5,5,4] , A=[0,9,4,9,3,5,3] , C=1 , 7+4+1=12 , A->2 , C->1 [7,2,5,8,0,2] + [2,1,5,4,0,8,5,5] , A=[2,0,9,4,9,3,5,3] , C=1 , 2+5+1=8 , A->8 , C->0 [7,2,5,8,0] + [2,1,5,4,0,8,5] , A=[8,2,0,9,4,9,3,5,3] , C=0 , 0+5+0=5 , A->5 , C->0 [7,2,5,8] + [2,1,5,4,0,8] , A=[5,8,2,0,9,4,9,3,5,3] , C=0 , 8+8+0=16 , A->6 , C->1 [7,2,5] + [2,1,5,4,0] , A=[6,5,8,2,0,9,4,9,3,5,3] , C=1 , 5+0+1=6 , A->6 , C->0 [7,2] + [2,1,5,4] , A=[6,6,5,8,2,0,9,4,9,3,5,3] , C=0 , 2+4+0=6 , A->6 , C->0 [7] + [2,1,5] , A=[6,6,6,5,8,2,0,9,4,9,3,5,3] , C=0 , 7+5+0=12 , A->2 , C->1 [] + [2,1] , A=[2,6,6,6,5,8,2,0,9,4,9,3,5,3] , C=1 , 0+1+1=2 , A->2 , C->0 [] + [2] , A=[2,2,6,6,6,5,8,2,0,9,4,9,3,5,3] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [] , A=[2,2,2,6,6,6,5,8,2,0,9,4,9,3,5,3] C=0 , END </scratch> 2226665820949353
2226665820949353
14
Input: 7077556183188242+9608316211403 Target:
Input: 7077556183188242+9608316211403 Target: [7,0,7,7,5,5,6,1,8,3,1,8,8,2,4,2] + [9,6,0,8,3,1,6,2,1,1,4,0,3] , A=[] , C=0 , 2+3+0=5 , A->5 , C->0 [7,0,7,7,5,5,6,1,8,3,1,8,8,2,4] + [9,6,0,8,3,1,6,2,1,1,4,0] , A=[5] , C=0 , 4+0+0=4 , A->4 , C->0 [7,0,7,7,5,5,6,1,8,3,1,8,8,2] + [9,6,0,8,3,1,6,2,1,1,4] , A=[4,5] , C=0 , 2+4+0=6 , A->6 , C->0 [7,0,7,7,5,5,6,1,8,3,1,8,8] + [9,6,0,8,3,1,6,2,1,1] , A=[6,4,5] , C=0 , 8+1+0=9 , A->9 , C->0 [7,0,7,7,5,5,6,1,8,3,1,8] + [9,6,0,8,3,1,6,2,1] , A=[9,6,4,5] , C=0 , 8+1+0=9 , A->9 , C->0 [7,0,7,7,5,5,6,1,8,3,1] + [9,6,0,8,3,1,6,2] , A=[9,9,6,4,5] , C=0 , 1+2+0=3 , A->3 , C->0 [7,0,7,7,5,5,6,1,8,3] + [9,6,0,8,3,1,6] , A=[3,9,9,6,4,5] , C=0 , 3+6+0=9 , A->9 , C->0 [7,0,7,7,5,5,6,1,8] + [9,6,0,8,3,1] , A=[9,3,9,9,6,4,5] , C=0 , 8+1+0=9 , A->9 , C->0 [7,0,7,7,5,5,6,1] + [9,6,0,8,3] , A=[9,9,3,9,9,6,4,5] , C=0 , 1+3+0=4 , A->4 , C->0 [7,0,7,7,5,5,6] + [9,6,0,8] , A=[4,9,9,3,9,9,6,4,5] , C=0 , 6+8+0=14 , A->4 , C->1 [7,0,7,7,5,5] + [9,6,0] , A=[4,4,9,9,3,9,9,6,4,5] , C=1 , 5+0+1=6 , A->6 , C->0 [7,0,7,7,5] + [9,6] , A=[6,4,4,9,9,3,9,9,6,4,5] , C=0 , 5+6+0=11 , A->1 , C->1 [7,0,7,7] + [9] , A=[1,6,4,4,9,9,3,9,9,6,4,5] , C=1 , 7+9+1=17 , A->7 , C->1 [7,0,7] + [] , A=[7,1,6,4,4,9,9,3,9,9,6,4,5] , C=1 , 7+0+1=8 , A->8 , C->0 [7,0] + [] , A=[8,7,1,6,4,4,9,9,3,9,9,6,4,5] , C=0 , 0+0+0=0 , A->0 , C->0 [7] + [] , A=[0,8,7,1,6,4,4,9,9,3,9,9,6,4,5] , C=0 , 7+0+0=7 , A->7 , C->0 [] + [] , A=[7,0,8,7,1,6,4,4,9,9,3,9,9,6,4,5] C=0 , END </scratch> 7087164499399645
7087164499399645
13
Input: 1384+7205786500815258 Target:
Input: 1384+7205786500815258 Target: [1,3,8,4] + [7,2,0,5,7,8,6,5,0,0,8,1,5,2,5,8] , A=[] , C=0 , 4+8+0=12 , A->2 , C->1 [1,3,8] + [7,2,0,5,7,8,6,5,0,0,8,1,5,2,5] , A=[2] , C=1 , 8+5+1=14 , A->4 , C->1 [1,3] + [7,2,0,5,7,8,6,5,0,0,8,1,5,2] , A=[4,2] , C=1 , 3+2+1=6 , A->6 , C->0 [1] + [7,2,0,5,7,8,6,5,0,0,8,1,5] , A=[6,4,2] , C=0 , 1+5+0=6 , A->6 , C->0 [] + [7,2,0,5,7,8,6,5,0,0,8,1] , A=[6,6,4,2] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [7,2,0,5,7,8,6,5,0,0,8] , A=[1,6,6,4,2] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [7,2,0,5,7,8,6,5,0,0] , A=[8,1,6,6,4,2] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [7,2,0,5,7,8,6,5,0] , A=[0,8,1,6,6,4,2] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [7,2,0,5,7,8,6,5] , A=[0,0,8,1,6,6,4,2] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [7,2,0,5,7,8,6] , A=[5,0,0,8,1,6,6,4,2] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [7,2,0,5,7,8] , A=[6,5,0,0,8,1,6,6,4,2] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [7,2,0,5,7] , A=[8,6,5,0,0,8,1,6,6,4,2] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [7,2,0,5] , A=[7,8,6,5,0,0,8,1,6,6,4,2] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [7,2,0] , A=[5,7,8,6,5,0,0,8,1,6,6,4,2] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [7,2] , A=[0,5,7,8,6,5,0,0,8,1,6,6,4,2] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [7] , A=[2,0,5,7,8,6,5,0,0,8,1,6,6,4,2] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [] , A=[7,2,0,5,7,8,6,5,0,0,8,1,6,6,4,2] C=0 , END </scratch> 7205786500816642
7205786500816642
4
Input: 6733155697697311+90 Target:
Input: 6733155697697311+90 Target: [6,7,3,3,1,5,5,6,9,7,6,9,7,3,1,1] + [9,0] , A=[] , C=0 , 1+0+0=1 , A->1 , C->0 [6,7,3,3,1,5,5,6,9,7,6,9,7,3,1] + [9] , A=[1] , C=0 , 1+9+0=10 , A->0 , C->1 [6,7,3,3,1,5,5,6,9,7,6,9,7,3] + [] , A=[0,1] , C=1 , 3+0+1=4 , A->4 , C->0 [6,7,3,3,1,5,5,6,9,7,6,9,7] + [] , A=[4,0,1] , C=0 , 7+0+0=7 , A->7 , C->0 [6,7,3,3,1,5,5,6,9,7,6,9] + [] , A=[7,4,0,1] , C=0 , 9+0+0=9 , A->9 , C->0 [6,7,3,3,1,5,5,6,9,7,6] + [] , A=[9,7,4,0,1] , C=0 , 6+0+0=6 , A->6 , C->0 [6,7,3,3,1,5,5,6,9,7] + [] , A=[6,9,7,4,0,1] , C=0 , 7+0+0=7 , A->7 , C->0 [6,7,3,3,1,5,5,6,9] + [] , A=[7,6,9,7,4,0,1] , C=0 , 9+0+0=9 , A->9 , C->0 [6,7,3,3,1,5,5,6] + [] , A=[9,7,6,9,7,4,0,1] , C=0 , 6+0+0=6 , A->6 , C->0 [6,7,3,3,1,5,5] + [] , A=[6,9,7,6,9,7,4,0,1] , C=0 , 5+0+0=5 , A->5 , C->0 [6,7,3,3,1,5] + [] , A=[5,6,9,7,6,9,7,4,0,1] , C=0 , 5+0+0=5 , A->5 , C->0 [6,7,3,3,1] + [] , A=[5,5,6,9,7,6,9,7,4,0,1] , C=0 , 1+0+0=1 , A->1 , C->0 [6,7,3,3] + [] , A=[1,5,5,6,9,7,6,9,7,4,0,1] , C=0 , 3+0+0=3 , A->3 , C->0 [6,7,3] + [] , A=[3,1,5,5,6,9,7,6,9,7,4,0,1] , C=0 , 3+0+0=3 , A->3 , C->0 [6,7] + [] , A=[3,3,1,5,5,6,9,7,6,9,7,4,0,1] , C=0 , 7+0+0=7 , A->7 , C->0 [6] + [] , A=[7,3,3,1,5,5,6,9,7,6,9,7,4,0,1] , C=0 , 6+0+0=6 , A->6 , C->0 [] + [] , A=[6,7,3,3,1,5,5,6,9,7,6,9,7,4,0,1] C=0 , END </scratch> 6733155697697401
6733155697697401
2
Input: 6213929654137894+430568507330494 Target:
Input: 6213929654137894+430568507330494 Target: [6,2,1,3,9,2,9,6,5,4,1,3,7,8,9,4] + [4,3,0,5,6,8,5,0,7,3,3,0,4,9,4] , A=[] , C=0 , 4+4+0=8 , A->8 , C->0 [6,2,1,3,9,2,9,6,5,4,1,3,7,8,9] + [4,3,0,5,6,8,5,0,7,3,3,0,4,9] , A=[8] , C=0 , 9+9+0=18 , A->8 , C->1 [6,2,1,3,9,2,9,6,5,4,1,3,7,8] + [4,3,0,5,6,8,5,0,7,3,3,0,4] , A=[8,8] , C=1 , 8+4+1=13 , A->3 , C->1 [6,2,1,3,9,2,9,6,5,4,1,3,7] + [4,3,0,5,6,8,5,0,7,3,3,0] , A=[3,8,8] , C=1 , 7+0+1=8 , A->8 , C->0 [6,2,1,3,9,2,9,6,5,4,1,3] + [4,3,0,5,6,8,5,0,7,3,3] , A=[8,3,8,8] , C=0 , 3+3+0=6 , A->6 , C->0 [6,2,1,3,9,2,9,6,5,4,1] + [4,3,0,5,6,8,5,0,7,3] , A=[6,8,3,8,8] , C=0 , 1+3+0=4 , A->4 , C->0 [6,2,1,3,9,2,9,6,5,4] + [4,3,0,5,6,8,5,0,7] , A=[4,6,8,3,8,8] , C=0 , 4+7+0=11 , A->1 , C->1 [6,2,1,3,9,2,9,6,5] + [4,3,0,5,6,8,5,0] , A=[1,4,6,8,3,8,8] , C=1 , 5+0+1=6 , A->6 , C->0 [6,2,1,3,9,2,9,6] + [4,3,0,5,6,8,5] , A=[6,1,4,6,8,3,8,8] , C=0 , 6+5+0=11 , A->1 , C->1 [6,2,1,3,9,2,9] + [4,3,0,5,6,8] , A=[1,6,1,4,6,8,3,8,8] , C=1 , 9+8+1=18 , A->8 , C->1 [6,2,1,3,9,2] + [4,3,0,5,6] , A=[8,1,6,1,4,6,8,3,8,8] , C=1 , 2+6+1=9 , A->9 , C->0 [6,2,1,3,9] + [4,3,0,5] , A=[9,8,1,6,1,4,6,8,3,8,8] , C=0 , 9+5+0=14 , A->4 , C->1 [6,2,1,3] + [4,3,0] , A=[4,9,8,1,6,1,4,6,8,3,8,8] , C=1 , 3+0+1=4 , A->4 , C->0 [6,2,1] + [4,3] , A=[4,4,9,8,1,6,1,4,6,8,3,8,8] , C=0 , 1+3+0=4 , A->4 , C->0 [6,2] + [4] , A=[4,4,4,9,8,1,6,1,4,6,8,3,8,8] , C=0 , 2+4+0=6 , A->6 , C->0 [6] + [] , A=[6,4,4,4,9,8,1,6,1,4,6,8,3,8,8] , C=0 , 6+0+0=6 , A->6 , C->0 [] + [] , A=[6,6,4,4,4,9,8,1,6,1,4,6,8,3,8,8] C=0 , END </scratch> 6644498161468388
6644498161468388
15
Input: 764135721794449+2562901295792191 Target:
Input: 764135721794449+2562901295792191 Target: [7,6,4,1,3,5,7,2,1,7,9,4,4,4,9] + [2,5,6,2,9,0,1,2,9,5,7,9,2,1,9,1] , A=[] , C=0 , 9+1+0=10 , A->0 , C->1 [7,6,4,1,3,5,7,2,1,7,9,4,4,4] + [2,5,6,2,9,0,1,2,9,5,7,9,2,1,9] , A=[0] , C=1 , 4+9+1=14 , A->4 , C->1 [7,6,4,1,3,5,7,2,1,7,9,4,4] + [2,5,6,2,9,0,1,2,9,5,7,9,2,1] , A=[4,0] , C=1 , 4+1+1=6 , A->6 , C->0 [7,6,4,1,3,5,7,2,1,7,9,4] + [2,5,6,2,9,0,1,2,9,5,7,9,2] , A=[6,4,0] , C=0 , 4+2+0=6 , A->6 , C->0 [7,6,4,1,3,5,7,2,1,7,9] + [2,5,6,2,9,0,1,2,9,5,7,9] , A=[6,6,4,0] , C=0 , 9+9+0=18 , A->8 , C->1 [7,6,4,1,3,5,7,2,1,7] + [2,5,6,2,9,0,1,2,9,5,7] , A=[8,6,6,4,0] , C=1 , 7+7+1=15 , A->5 , C->1 [7,6,4,1,3,5,7,2,1] + [2,5,6,2,9,0,1,2,9,5] , A=[5,8,6,6,4,0] , C=1 , 1+5+1=7 , A->7 , C->0 [7,6,4,1,3,5,7,2] + [2,5,6,2,9,0,1,2,9] , A=[7,5,8,6,6,4,0] , C=0 , 2+9+0=11 , A->1 , C->1 [7,6,4,1,3,5,7] + [2,5,6,2,9,0,1,2] , A=[1,7,5,8,6,6,4,0] , C=1 , 7+2+1=10 , A->0 , C->1 [7,6,4,1,3,5] + [2,5,6,2,9,0,1] , A=[0,1,7,5,8,6,6,4,0] , C=1 , 5+1+1=7 , A->7 , C->0 [7,6,4,1,3] + [2,5,6,2,9,0] , A=[7,0,1,7,5,8,6,6,4,0] , C=0 , 3+0+0=3 , A->3 , C->0 [7,6,4,1] + [2,5,6,2,9] , A=[3,7,0,1,7,5,8,6,6,4,0] , C=0 , 1+9+0=10 , A->0 , C->1 [7,6,4] + [2,5,6,2] , A=[0,3,7,0,1,7,5,8,6,6,4,0] , C=1 , 4+2+1=7 , A->7 , C->0 [7,6] + [2,5,6] , A=[7,0,3,7,0,1,7,5,8,6,6,4,0] , C=0 , 6+6+0=12 , A->2 , C->1 [7] + [2,5] , A=[2,7,0,3,7,0,1,7,5,8,6,6,4,0] , C=1 , 7+5+1=13 , A->3 , C->1 [] + [2] , A=[3,2,7,0,3,7,0,1,7,5,8,6,6,4,0] , C=1 , 0+2+1=3 , A->3 , C->0 [] + [] , A=[3,3,2,7,0,3,7,0,1,7,5,8,6,6,4,0] C=0 , END </scratch> 3327037017586640
3327037017586640
15
Input: 19348966+9805231523202857 Target:
Input: 19348966+9805231523202857 Target: [1,9,3,4,8,9,6,6] + [9,8,0,5,2,3,1,5,2,3,2,0,2,8,5,7] , A=[] , C=0 , 6+7+0=13 , A->3 , C->1 [1,9,3,4,8,9,6] + [9,8,0,5,2,3,1,5,2,3,2,0,2,8,5] , A=[3] , C=1 , 6+5+1=12 , A->2 , C->1 [1,9,3,4,8,9] + [9,8,0,5,2,3,1,5,2,3,2,0,2,8] , A=[2,3] , C=1 , 9+8+1=18 , A->8 , C->1 [1,9,3,4,8] + [9,8,0,5,2,3,1,5,2,3,2,0,2] , A=[8,2,3] , C=1 , 8+2+1=11 , A->1 , C->1 [1,9,3,4] + [9,8,0,5,2,3,1,5,2,3,2,0] , A=[1,8,2,3] , C=1 , 4+0+1=5 , A->5 , C->0 [1,9,3] + [9,8,0,5,2,3,1,5,2,3,2] , A=[5,1,8,2,3] , C=0 , 3+2+0=5 , A->5 , C->0 [1,9] + [9,8,0,5,2,3,1,5,2,3] , A=[5,5,1,8,2,3] , C=0 , 9+3+0=12 , A->2 , C->1 [1] + [9,8,0,5,2,3,1,5,2] , A=[2,5,5,1,8,2,3] , C=1 , 1+2+1=4 , A->4 , C->0 [] + [9,8,0,5,2,3,1,5] , A=[4,2,5,5,1,8,2,3] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [9,8,0,5,2,3,1] , A=[5,4,2,5,5,1,8,2,3] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [9,8,0,5,2,3] , A=[1,5,4,2,5,5,1,8,2,3] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [9,8,0,5,2] , A=[3,1,5,4,2,5,5,1,8,2,3] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [9,8,0,5] , A=[2,3,1,5,4,2,5,5,1,8,2,3] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [9,8,0] , A=[5,2,3,1,5,4,2,5,5,1,8,2,3] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [9,8] , A=[0,5,2,3,1,5,4,2,5,5,1,8,2,3] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [9] , A=[8,0,5,2,3,1,5,4,2,5,5,1,8,2,3] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [] , A=[9,8,0,5,2,3,1,5,4,2,5,5,1,8,2,3] C=0 , END </scratch> 9805231542551823
9805231542551823
8
Input: 9060497850534+9594526855365944 Target:
Input: 9060497850534+9594526855365944 Target: [9,0,6,0,4,9,7,8,5,0,5,3,4] + [9,5,9,4,5,2,6,8,5,5,3,6,5,9,4,4] , A=[] , C=0 , 4+4+0=8 , A->8 , C->0 [9,0,6,0,4,9,7,8,5,0,5,3] + [9,5,9,4,5,2,6,8,5,5,3,6,5,9,4] , A=[8] , C=0 , 3+4+0=7 , A->7 , C->0 [9,0,6,0,4,9,7,8,5,0,5] + [9,5,9,4,5,2,6,8,5,5,3,6,5,9] , A=[7,8] , C=0 , 5+9+0=14 , A->4 , C->1 [9,0,6,0,4,9,7,8,5,0] + [9,5,9,4,5,2,6,8,5,5,3,6,5] , A=[4,7,8] , C=1 , 0+5+1=6 , A->6 , C->0 [9,0,6,0,4,9,7,8,5] + [9,5,9,4,5,2,6,8,5,5,3,6] , A=[6,4,7,8] , C=0 , 5+6+0=11 , A->1 , C->1 [9,0,6,0,4,9,7,8] + [9,5,9,4,5,2,6,8,5,5,3] , A=[1,6,4,7,8] , C=1 , 8+3+1=12 , A->2 , C->1 [9,0,6,0,4,9,7] + [9,5,9,4,5,2,6,8,5,5] , A=[2,1,6,4,7,8] , C=1 , 7+5+1=13 , A->3 , C->1 [9,0,6,0,4,9] + [9,5,9,4,5,2,6,8,5] , A=[3,2,1,6,4,7,8] , C=1 , 9+5+1=15 , A->5 , C->1 [9,0,6,0,4] + [9,5,9,4,5,2,6,8] , A=[5,3,2,1,6,4,7,8] , C=1 , 4+8+1=13 , A->3 , C->1 [9,0,6,0] + [9,5,9,4,5,2,6] , A=[3,5,3,2,1,6,4,7,8] , C=1 , 0+6+1=7 , A->7 , C->0 [9,0,6] + [9,5,9,4,5,2] , A=[7,3,5,3,2,1,6,4,7,8] , C=0 , 6+2+0=8 , A->8 , C->0 [9,0] + [9,5,9,4,5] , A=[8,7,3,5,3,2,1,6,4,7,8] , C=0 , 0+5+0=5 , A->5 , C->0 [9] + [9,5,9,4] , A=[5,8,7,3,5,3,2,1,6,4,7,8] , C=0 , 9+4+0=13 , A->3 , C->1 [] + [9,5,9] , A=[3,5,8,7,3,5,3,2,1,6,4,7,8] , C=1 , 0+9+1=10 , A->0 , C->1 [] + [9,5] , A=[0,3,5,8,7,3,5,3,2,1,6,4,7,8] , C=1 , 0+5+1=6 , A->6 , C->0 [] + [9] , A=[6,0,3,5,8,7,3,5,3,2,1,6,4,7,8] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [] , A=[9,6,0,3,5,8,7,3,5,3,2,1,6,4,7,8] C=0 , END </scratch> 9603587353216478
9603587353216478
13
Input: 6107021936189504+955590620857 Target:
Input: 6107021936189504+955590620857 Target: [6,1,0,7,0,2,1,9,3,6,1,8,9,5,0,4] + [9,5,5,5,9,0,6,2,0,8,5,7] , A=[] , C=0 , 4+7+0=11 , A->1 , C->1 [6,1,0,7,0,2,1,9,3,6,1,8,9,5,0] + [9,5,5,5,9,0,6,2,0,8,5] , A=[1] , C=1 , 0+5+1=6 , A->6 , C->0 [6,1,0,7,0,2,1,9,3,6,1,8,9,5] + [9,5,5,5,9,0,6,2,0,8] , A=[6,1] , C=0 , 5+8+0=13 , A->3 , C->1 [6,1,0,7,0,2,1,9,3,6,1,8,9] + [9,5,5,5,9,0,6,2,0] , A=[3,6,1] , C=1 , 9+0+1=10 , A->0 , C->1 [6,1,0,7,0,2,1,9,3,6,1,8] + [9,5,5,5,9,0,6,2] , A=[0,3,6,1] , C=1 , 8+2+1=11 , A->1 , C->1 [6,1,0,7,0,2,1,9,3,6,1] + [9,5,5,5,9,0,6] , A=[1,0,3,6,1] , C=1 , 1+6+1=8 , A->8 , C->0 [6,1,0,7,0,2,1,9,3,6] + [9,5,5,5,9,0] , A=[8,1,0,3,6,1] , C=0 , 6+0+0=6 , A->6 , C->0 [6,1,0,7,0,2,1,9,3] + [9,5,5,5,9] , A=[6,8,1,0,3,6,1] , C=0 , 3+9+0=12 , A->2 , C->1 [6,1,0,7,0,2,1,9] + [9,5,5,5] , A=[2,6,8,1,0,3,6,1] , C=1 , 9+5+1=15 , A->5 , C->1 [6,1,0,7,0,2,1] + [9,5,5] , A=[5,2,6,8,1,0,3,6,1] , C=1 , 1+5+1=7 , A->7 , C->0 [6,1,0,7,0,2] + [9,5] , A=[7,5,2,6,8,1,0,3,6,1] , C=0 , 2+5+0=7 , A->7 , C->0 [6,1,0,7,0] + [9] , A=[7,7,5,2,6,8,1,0,3,6,1] , C=0 , 0+9+0=9 , A->9 , C->0 [6,1,0,7] + [] , A=[9,7,7,5,2,6,8,1,0,3,6,1] , C=0 , 7+0+0=7 , A->7 , C->0 [6,1,0] + [] , A=[7,9,7,7,5,2,6,8,1,0,3,6,1] , C=0 , 0+0+0=0 , A->0 , C->0 [6,1] + [] , A=[0,7,9,7,7,5,2,6,8,1,0,3,6,1] , C=0 , 1+0+0=1 , A->1 , C->0 [6] + [] , A=[1,0,7,9,7,7,5,2,6,8,1,0,3,6,1] , C=0 , 6+0+0=6 , A->6 , C->0 [] + [] , A=[6,1,0,7,9,7,7,5,2,6,8,1,0,3,6,1] C=0 , END </scratch> 6107977526810361
6107977526810361
12
Input: 3+3692148760023232 Target:
Input: 3+3692148760023232 Target: [3] + [3,6,9,2,1,4,8,7,6,0,0,2,3,2,3,2] , A=[] , C=0 , 3+2+0=5 , A->5 , C->0 [] + [3,6,9,2,1,4,8,7,6,0,0,2,3,2,3] , A=[5] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [3,6,9,2,1,4,8,7,6,0,0,2,3,2] , A=[3,5] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [3,6,9,2,1,4,8,7,6,0,0,2,3] , A=[2,3,5] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [3,6,9,2,1,4,8,7,6,0,0,2] , A=[3,2,3,5] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [3,6,9,2,1,4,8,7,6,0,0] , A=[2,3,2,3,5] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [3,6,9,2,1,4,8,7,6,0] , A=[0,2,3,2,3,5] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [3,6,9,2,1,4,8,7,6] , A=[0,0,2,3,2,3,5] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [3,6,9,2,1,4,8,7] , A=[6,0,0,2,3,2,3,5] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [3,6,9,2,1,4,8] , A=[7,6,0,0,2,3,2,3,5] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [3,6,9,2,1,4] , A=[8,7,6,0,0,2,3,2,3,5] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [3,6,9,2,1] , A=[4,8,7,6,0,0,2,3,2,3,5] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [3,6,9,2] , A=[1,4,8,7,6,0,0,2,3,2,3,5] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [3,6,9] , A=[2,1,4,8,7,6,0,0,2,3,2,3,5] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [3,6] , A=[9,2,1,4,8,7,6,0,0,2,3,2,3,5] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [3] , A=[6,9,2,1,4,8,7,6,0,0,2,3,2,3,5] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [] , A=[3,6,9,2,1,4,8,7,6,0,0,2,3,2,3,5] C=0 , END </scratch> 3692148760023235
3692148760023235
1
Input: 21830345652513+2690930631421829 Target:
Input: 21830345652513+2690930631421829 Target: [2,1,8,3,0,3,4,5,6,5,2,5,1,3] + [2,6,9,0,9,3,0,6,3,1,4,2,1,8,2,9] , A=[] , C=0 , 3+9+0=12 , A->2 , C->1 [2,1,8,3,0,3,4,5,6,5,2,5,1] + [2,6,9,0,9,3,0,6,3,1,4,2,1,8,2] , A=[2] , C=1 , 1+2+1=4 , A->4 , C->0 [2,1,8,3,0,3,4,5,6,5,2,5] + [2,6,9,0,9,3,0,6,3,1,4,2,1,8] , A=[4,2] , C=0 , 5+8+0=13 , A->3 , C->1 [2,1,8,3,0,3,4,5,6,5,2] + [2,6,9,0,9,3,0,6,3,1,4,2,1] , A=[3,4,2] , C=1 , 2+1+1=4 , A->4 , C->0 [2,1,8,3,0,3,4,5,6,5] + [2,6,9,0,9,3,0,6,3,1,4,2] , A=[4,3,4,2] , C=0 , 5+2+0=7 , A->7 , C->0 [2,1,8,3,0,3,4,5,6] + [2,6,9,0,9,3,0,6,3,1,4] , A=[7,4,3,4,2] , C=0 , 6+4+0=10 , A->0 , C->1 [2,1,8,3,0,3,4,5] + [2,6,9,0,9,3,0,6,3,1] , A=[0,7,4,3,4,2] , C=1 , 5+1+1=7 , A->7 , C->0 [2,1,8,3,0,3,4] + [2,6,9,0,9,3,0,6,3] , A=[7,0,7,4,3,4,2] , C=0 , 4+3+0=7 , A->7 , C->0 [2,1,8,3,0,3] + [2,6,9,0,9,3,0,6] , A=[7,7,0,7,4,3,4,2] , C=0 , 3+6+0=9 , A->9 , C->0 [2,1,8,3,0] + [2,6,9,0,9,3,0] , A=[9,7,7,0,7,4,3,4,2] , C=0 , 0+0+0=0 , A->0 , C->0 [2,1,8,3] + [2,6,9,0,9,3] , A=[0,9,7,7,0,7,4,3,4,2] , C=0 , 3+3+0=6 , A->6 , C->0 [2,1,8] + [2,6,9,0,9] , A=[6,0,9,7,7,0,7,4,3,4,2] , C=0 , 8+9+0=17 , A->7 , C->1 [2,1] + [2,6,9,0] , A=[7,6,0,9,7,7,0,7,4,3,4,2] , C=1 , 1+0+1=2 , A->2 , C->0 [2] + [2,6,9] , A=[2,7,6,0,9,7,7,0,7,4,3,4,2] , C=0 , 2+9+0=11 , A->1 , C->1 [] + [2,6] , A=[1,2,7,6,0,9,7,7,0,7,4,3,4,2] , C=1 , 0+6+1=7 , A->7 , C->0 [] + [2] , A=[7,1,2,7,6,0,9,7,7,0,7,4,3,4,2] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [] , A=[2,7,1,2,7,6,0,9,7,7,0,7,4,3,4,2] C=0 , END </scratch> 2712760977074342
2712760977074342
14
Input: 778446454296551+4359879452820598 Target:
Input: 778446454296551+4359879452820598 Target: [7,7,8,4,4,6,4,5,4,2,9,6,5,5,1] + [4,3,5,9,8,7,9,4,5,2,8,2,0,5,9,8] , A=[] , C=0 , 1+8+0=9 , A->9 , C->0 [7,7,8,4,4,6,4,5,4,2,9,6,5,5] + [4,3,5,9,8,7,9,4,5,2,8,2,0,5,9] , A=[9] , C=0 , 5+9+0=14 , A->4 , C->1 [7,7,8,4,4,6,4,5,4,2,9,6,5] + [4,3,5,9,8,7,9,4,5,2,8,2,0,5] , A=[4,9] , C=1 , 5+5+1=11 , A->1 , C->1 [7,7,8,4,4,6,4,5,4,2,9,6] + [4,3,5,9,8,7,9,4,5,2,8,2,0] , A=[1,4,9] , C=1 , 6+0+1=7 , A->7 , C->0 [7,7,8,4,4,6,4,5,4,2,9] + [4,3,5,9,8,7,9,4,5,2,8,2] , A=[7,1,4,9] , C=0 , 9+2+0=11 , A->1 , C->1 [7,7,8,4,4,6,4,5,4,2] + [4,3,5,9,8,7,9,4,5,2,8] , A=[1,7,1,4,9] , C=1 , 2+8+1=11 , A->1 , C->1 [7,7,8,4,4,6,4,5,4] + [4,3,5,9,8,7,9,4,5,2] , A=[1,1,7,1,4,9] , C=1 , 4+2+1=7 , A->7 , C->0 [7,7,8,4,4,6,4,5] + [4,3,5,9,8,7,9,4,5] , A=[7,1,1,7,1,4,9] , C=0 , 5+5+0=10 , A->0 , C->1 [7,7,8,4,4,6,4] + [4,3,5,9,8,7,9,4] , A=[0,7,1,1,7,1,4,9] , C=1 , 4+4+1=9 , A->9 , C->0 [7,7,8,4,4,6] + [4,3,5,9,8,7,9] , A=[9,0,7,1,1,7,1,4,9] , C=0 , 6+9+0=15 , A->5 , C->1 [7,7,8,4,4] + [4,3,5,9,8,7] , A=[5,9,0,7,1,1,7,1,4,9] , C=1 , 4+7+1=12 , A->2 , C->1 [7,7,8,4] + [4,3,5,9,8] , A=[2,5,9,0,7,1,1,7,1,4,9] , C=1 , 4+8+1=13 , A->3 , C->1 [7,7,8] + [4,3,5,9] , A=[3,2,5,9,0,7,1,1,7,1,4,9] , C=1 , 8+9+1=18 , A->8 , C->1 [7,7] + [4,3,5] , A=[8,3,2,5,9,0,7,1,1,7,1,4,9] , C=1 , 7+5+1=13 , A->3 , C->1 [7] + [4,3] , A=[3,8,3,2,5,9,0,7,1,1,7,1,4,9] , C=1 , 7+3+1=11 , A->1 , C->1 [] + [4] , A=[1,3,8,3,2,5,9,0,7,1,1,7,1,4,9] , C=1 , 0+4+1=5 , A->5 , C->0 [] + [] , A=[5,1,3,8,3,2,5,9,0,7,1,1,7,1,4,9] C=0 , END </scratch> 5138325907117149
5138325907117149
15
Input: 8061288795834+6780983819330180 Target:
Input: 8061288795834+6780983819330180 Target: [8,0,6,1,2,8,8,7,9,5,8,3,4] + [6,7,8,0,9,8,3,8,1,9,3,3,0,1,8,0] , A=[] , C=0 , 4+0+0=4 , A->4 , C->0 [8,0,6,1,2,8,8,7,9,5,8,3] + [6,7,8,0,9,8,3,8,1,9,3,3,0,1,8] , A=[4] , C=0 , 3+8+0=11 , A->1 , C->1 [8,0,6,1,2,8,8,7,9,5,8] + [6,7,8,0,9,8,3,8,1,9,3,3,0,1] , A=[1,4] , C=1 , 8+1+1=10 , A->0 , C->1 [8,0,6,1,2,8,8,7,9,5] + [6,7,8,0,9,8,3,8,1,9,3,3,0] , A=[0,1,4] , C=1 , 5+0+1=6 , A->6 , C->0 [8,0,6,1,2,8,8,7,9] + [6,7,8,0,9,8,3,8,1,9,3,3] , A=[6,0,1,4] , C=0 , 9+3+0=12 , A->2 , C->1 [8,0,6,1,2,8,8,7] + [6,7,8,0,9,8,3,8,1,9,3] , A=[2,6,0,1,4] , C=1 , 7+3+1=11 , A->1 , C->1 [8,0,6,1,2,8,8] + [6,7,8,0,9,8,3,8,1,9] , A=[1,2,6,0,1,4] , C=1 , 8+9+1=18 , A->8 , C->1 [8,0,6,1,2,8] + [6,7,8,0,9,8,3,8,1] , A=[8,1,2,6,0,1,4] , C=1 , 8+1+1=10 , A->0 , C->1 [8,0,6,1,2] + [6,7,8,0,9,8,3,8] , A=[0,8,1,2,6,0,1,4] , C=1 , 2+8+1=11 , A->1 , C->1 [8,0,6,1] + [6,7,8,0,9,8,3] , A=[1,0,8,1,2,6,0,1,4] , C=1 , 1+3+1=5 , A->5 , C->0 [8,0,6] + [6,7,8,0,9,8] , A=[5,1,0,8,1,2,6,0,1,4] , C=0 , 6+8+0=14 , A->4 , C->1 [8,0] + [6,7,8,0,9] , A=[4,5,1,0,8,1,2,6,0,1,4] , C=1 , 0+9+1=10 , A->0 , C->1 [8] + [6,7,8,0] , A=[0,4,5,1,0,8,1,2,6,0,1,4] , C=1 , 8+0+1=9 , A->9 , C->0 [] + [6,7,8] , A=[9,0,4,5,1,0,8,1,2,6,0,1,4] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [6,7] , A=[8,9,0,4,5,1,0,8,1,2,6,0,1,4] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [6] , A=[7,8,9,0,4,5,1,0,8,1,2,6,0,1,4] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [] , A=[6,7,8,9,0,4,5,1,0,8,1,2,6,0,1,4] C=0 , END </scratch> 6789045108126014
6789045108126014
13
Input: 3218262615633537+4096068192473616 Target:
Input: 3218262615633537+4096068192473616 Target: [3,2,1,8,2,6,2,6,1,5,6,3,3,5,3,7] + [4,0,9,6,0,6,8,1,9,2,4,7,3,6,1,6] , A=[] , C=0 , 7+6+0=13 , A->3 , C->1 [3,2,1,8,2,6,2,6,1,5,6,3,3,5,3] + [4,0,9,6,0,6,8,1,9,2,4,7,3,6,1] , A=[3] , C=1 , 3+1+1=5 , A->5 , C->0 [3,2,1,8,2,6,2,6,1,5,6,3,3,5] + [4,0,9,6,0,6,8,1,9,2,4,7,3,6] , A=[5,3] , C=0 , 5+6+0=11 , A->1 , C->1 [3,2,1,8,2,6,2,6,1,5,6,3,3] + [4,0,9,6,0,6,8,1,9,2,4,7,3] , A=[1,5,3] , C=1 , 3+3+1=7 , A->7 , C->0 [3,2,1,8,2,6,2,6,1,5,6,3] + [4,0,9,6,0,6,8,1,9,2,4,7] , A=[7,1,5,3] , C=0 , 3+7+0=10 , A->0 , C->1 [3,2,1,8,2,6,2,6,1,5,6] + [4,0,9,6,0,6,8,1,9,2,4] , A=[0,7,1,5,3] , C=1 , 6+4+1=11 , A->1 , C->1 [3,2,1,8,2,6,2,6,1,5] + [4,0,9,6,0,6,8,1,9,2] , A=[1,0,7,1,5,3] , C=1 , 5+2+1=8 , A->8 , C->0 [3,2,1,8,2,6,2,6,1] + [4,0,9,6,0,6,8,1,9] , A=[8,1,0,7,1,5,3] , C=0 , 1+9+0=10 , A->0 , C->1 [3,2,1,8,2,6,2,6] + [4,0,9,6,0,6,8,1] , A=[0,8,1,0,7,1,5,3] , C=1 , 6+1+1=8 , A->8 , C->0 [3,2,1,8,2,6,2] + [4,0,9,6,0,6,8] , A=[8,0,8,1,0,7,1,5,3] , C=0 , 2+8+0=10 , A->0 , C->1 [3,2,1,8,2,6] + [4,0,9,6,0,6] , A=[0,8,0,8,1,0,7,1,5,3] , C=1 , 6+6+1=13 , A->3 , C->1 [3,2,1,8,2] + [4,0,9,6,0] , A=[3,0,8,0,8,1,0,7,1,5,3] , C=1 , 2+0+1=3 , A->3 , C->0 [3,2,1,8] + [4,0,9,6] , A=[3,3,0,8,0,8,1,0,7,1,5,3] , C=0 , 8+6+0=14 , A->4 , C->1 [3,2,1] + [4,0,9] , A=[4,3,3,0,8,0,8,1,0,7,1,5,3] , C=1 , 1+9+1=11 , A->1 , C->1 [3,2] + [4,0] , A=[1,4,3,3,0,8,0,8,1,0,7,1,5,3] , C=1 , 2+0+1=3 , A->3 , C->0 [3] + [4] , A=[3,1,4,3,3,0,8,0,8,1,0,7,1,5,3] , C=0 , 3+4+0=7 , A->7 , C->0 [] + [] , A=[7,3,1,4,3,3,0,8,0,8,1,0,7,1,5,3] C=0 , END </scratch> 7314330808107153
7314330808107153
16
Input: 44219665+4842298880812891 Target:
Input: 44219665+4842298880812891 Target: [4,4,2,1,9,6,6,5] + [4,8,4,2,2,9,8,8,8,0,8,1,2,8,9,1] , A=[] , C=0 , 5+1+0=6 , A->6 , C->0 [4,4,2,1,9,6,6] + [4,8,4,2,2,9,8,8,8,0,8,1,2,8,9] , A=[6] , C=0 , 6+9+0=15 , A->5 , C->1 [4,4,2,1,9,6] + [4,8,4,2,2,9,8,8,8,0,8,1,2,8] , A=[5,6] , C=1 , 6+8+1=15 , A->5 , C->1 [4,4,2,1,9] + [4,8,4,2,2,9,8,8,8,0,8,1,2] , A=[5,5,6] , C=1 , 9+2+1=12 , A->2 , C->1 [4,4,2,1] + [4,8,4,2,2,9,8,8,8,0,8,1] , A=[2,5,5,6] , C=1 , 1+1+1=3 , A->3 , C->0 [4,4,2] + [4,8,4,2,2,9,8,8,8,0,8] , A=[3,2,5,5,6] , C=0 , 2+8+0=10 , A->0 , C->1 [4,4] + [4,8,4,2,2,9,8,8,8,0] , A=[0,3,2,5,5,6] , C=1 , 4+0+1=5 , A->5 , C->0 [4] + [4,8,4,2,2,9,8,8,8] , A=[5,0,3,2,5,5,6] , C=0 , 4+8+0=12 , A->2 , C->1 [] + [4,8,4,2,2,9,8,8] , A=[2,5,0,3,2,5,5,6] , C=1 , 0+8+1=9 , A->9 , C->0 [] + [4,8,4,2,2,9,8] , A=[9,2,5,0,3,2,5,5,6] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [4,8,4,2,2,9] , A=[8,9,2,5,0,3,2,5,5,6] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [4,8,4,2,2] , A=[9,8,9,2,5,0,3,2,5,5,6] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [4,8,4,2] , A=[2,9,8,9,2,5,0,3,2,5,5,6] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [4,8,4] , A=[2,2,9,8,9,2,5,0,3,2,5,5,6] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [4,8] , A=[4,2,2,9,8,9,2,5,0,3,2,5,5,6] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [4] , A=[8,4,2,2,9,8,9,2,5,0,3,2,5,5,6] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [] , A=[4,8,4,2,2,9,8,9,2,5,0,3,2,5,5,6] C=0 , END </scratch> 4842298925032556
4842298925032556
8
Input: 25255+8362554932578928 Target:
Input: 25255+8362554932578928 Target: [2,5,2,5,5] + [8,3,6,2,5,5,4,9,3,2,5,7,8,9,2,8] , A=[] , C=0 , 5+8+0=13 , A->3 , C->1 [2,5,2,5] + [8,3,6,2,5,5,4,9,3,2,5,7,8,9,2] , A=[3] , C=1 , 5+2+1=8 , A->8 , C->0 [2,5,2] + [8,3,6,2,5,5,4,9,3,2,5,7,8,9] , A=[8,3] , C=0 , 2+9+0=11 , A->1 , C->1 [2,5] + [8,3,6,2,5,5,4,9,3,2,5,7,8] , A=[1,8,3] , C=1 , 5+8+1=14 , A->4 , C->1 [2] + [8,3,6,2,5,5,4,9,3,2,5,7] , A=[4,1,8,3] , C=1 , 2+7+1=10 , A->0 , C->1 [] + [8,3,6,2,5,5,4,9,3,2,5] , A=[0,4,1,8,3] , C=1 , 0+5+1=6 , A->6 , C->0 [] + [8,3,6,2,5,5,4,9,3,2] , A=[6,0,4,1,8,3] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [8,3,6,2,5,5,4,9,3] , A=[2,6,0,4,1,8,3] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [8,3,6,2,5,5,4,9] , A=[3,2,6,0,4,1,8,3] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [8,3,6,2,5,5,4] , A=[9,3,2,6,0,4,1,8,3] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [8,3,6,2,5,5] , A=[4,9,3,2,6,0,4,1,8,3] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [8,3,6,2,5] , A=[5,4,9,3,2,6,0,4,1,8,3] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [8,3,6,2] , A=[5,5,4,9,3,2,6,0,4,1,8,3] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [8,3,6] , A=[2,5,5,4,9,3,2,6,0,4,1,8,3] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [8,3] , A=[6,2,5,5,4,9,3,2,6,0,4,1,8,3] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [8] , A=[3,6,2,5,5,4,9,3,2,6,0,4,1,8,3] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [] , A=[8,3,6,2,5,5,4,9,3,2,6,0,4,1,8,3] C=0 , END </scratch> 8362554932604183
8362554932604183
5
Input: 5718216937359935+214541043317000 Target:
Input: 5718216937359935+214541043317000 Target: [5,7,1,8,2,1,6,9,3,7,3,5,9,9,3,5] + [2,1,4,5,4,1,0,4,3,3,1,7,0,0,0] , A=[] , C=0 , 5+0+0=5 , A->5 , C->0 [5,7,1,8,2,1,6,9,3,7,3,5,9,9,3] + [2,1,4,5,4,1,0,4,3,3,1,7,0,0] , A=[5] , C=0 , 3+0+0=3 , A->3 , C->0 [5,7,1,8,2,1,6,9,3,7,3,5,9,9] + [2,1,4,5,4,1,0,4,3,3,1,7,0] , A=[3,5] , C=0 , 9+0+0=9 , A->9 , C->0 [5,7,1,8,2,1,6,9,3,7,3,5,9] + [2,1,4,5,4,1,0,4,3,3,1,7] , A=[9,3,5] , C=0 , 9+7+0=16 , A->6 , C->1 [5,7,1,8,2,1,6,9,3,7,3,5] + [2,1,4,5,4,1,0,4,3,3,1] , A=[6,9,3,5] , C=1 , 5+1+1=7 , A->7 , C->0 [5,7,1,8,2,1,6,9,3,7,3] + [2,1,4,5,4,1,0,4,3,3] , A=[7,6,9,3,5] , C=0 , 3+3+0=6 , A->6 , C->0 [5,7,1,8,2,1,6,9,3,7] + [2,1,4,5,4,1,0,4,3] , A=[6,7,6,9,3,5] , C=0 , 7+3+0=10 , A->0 , C->1 [5,7,1,8,2,1,6,9,3] + [2,1,4,5,4,1,0,4] , A=[0,6,7,6,9,3,5] , C=1 , 3+4+1=8 , A->8 , C->0 [5,7,1,8,2,1,6,9] + [2,1,4,5,4,1,0] , A=[8,0,6,7,6,9,3,5] , C=0 , 9+0+0=9 , A->9 , C->0 [5,7,1,8,2,1,6] + [2,1,4,5,4,1] , A=[9,8,0,6,7,6,9,3,5] , C=0 , 6+1+0=7 , A->7 , C->0 [5,7,1,8,2,1] + [2,1,4,5,4] , A=[7,9,8,0,6,7,6,9,3,5] , C=0 , 1+4+0=5 , A->5 , C->0 [5,7,1,8,2] + [2,1,4,5] , A=[5,7,9,8,0,6,7,6,9,3,5] , C=0 , 2+5+0=7 , A->7 , C->0 [5,7,1,8] + [2,1,4] , A=[7,5,7,9,8,0,6,7,6,9,3,5] , C=0 , 8+4+0=12 , A->2 , C->1 [5,7,1] + [2,1] , A=[2,7,5,7,9,8,0,6,7,6,9,3,5] , C=1 , 1+1+1=3 , A->3 , C->0 [5,7] + [2] , A=[3,2,7,5,7,9,8,0,6,7,6,9,3,5] , C=0 , 7+2+0=9 , A->9 , C->0 [5] + [] , A=[9,3,2,7,5,7,9,8,0,6,7,6,9,3,5] , C=0 , 5+0+0=5 , A->5 , C->0 [] + [] , A=[5,9,3,2,7,5,7,9,8,0,6,7,6,9,3,5] C=0 , END </scratch> 5932757980676935
5932757980676935
15
Input: 3051825946+3699209626633163 Target:
Input: 3051825946+3699209626633163 Target: [3,0,5,1,8,2,5,9,4,6] + [3,6,9,9,2,0,9,6,2,6,6,3,3,1,6,3] , A=[] , C=0 , 6+3+0=9 , A->9 , C->0 [3,0,5,1,8,2,5,9,4] + [3,6,9,9,2,0,9,6,2,6,6,3,3,1,6] , A=[9] , C=0 , 4+6+0=10 , A->0 , C->1 [3,0,5,1,8,2,5,9] + [3,6,9,9,2,0,9,6,2,6,6,3,3,1] , A=[0,9] , C=1 , 9+1+1=11 , A->1 , C->1 [3,0,5,1,8,2,5] + [3,6,9,9,2,0,9,6,2,6,6,3,3] , A=[1,0,9] , C=1 , 5+3+1=9 , A->9 , C->0 [3,0,5,1,8,2] + [3,6,9,9,2,0,9,6,2,6,6,3] , A=[9,1,0,9] , C=0 , 2+3+0=5 , A->5 , C->0 [3,0,5,1,8] + [3,6,9,9,2,0,9,6,2,6,6] , A=[5,9,1,0,9] , C=0 , 8+6+0=14 , A->4 , C->1 [3,0,5,1] + [3,6,9,9,2,0,9,6,2,6] , A=[4,5,9,1,0,9] , C=1 , 1+6+1=8 , A->8 , C->0 [3,0,5] + [3,6,9,9,2,0,9,6,2] , A=[8,4,5,9,1,0,9] , C=0 , 5+2+0=7 , A->7 , C->0 [3,0] + [3,6,9,9,2,0,9,6] , A=[7,8,4,5,9,1,0,9] , C=0 , 0+6+0=6 , A->6 , C->0 [3] + [3,6,9,9,2,0,9] , A=[6,7,8,4,5,9,1,0,9] , C=0 , 3+9+0=12 , A->2 , C->1 [] + [3,6,9,9,2,0] , A=[2,6,7,8,4,5,9,1,0,9] , C=1 , 0+0+1=1 , A->1 , C->0 [] + [3,6,9,9,2] , A=[1,2,6,7,8,4,5,9,1,0,9] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [3,6,9,9] , A=[2,1,2,6,7,8,4,5,9,1,0,9] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [3,6,9] , A=[9,2,1,2,6,7,8,4,5,9,1,0,9] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [3,6] , A=[9,9,2,1,2,6,7,8,4,5,9,1,0,9] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [3] , A=[6,9,9,2,1,2,6,7,8,4,5,9,1,0,9] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [] , A=[3,6,9,9,2,1,2,6,7,8,4,5,9,1,0,9] C=0 , END </scratch> 3699212678459109
3699212678459109
10
Input: 8+5150571613181230 Target:
Input: 8+5150571613181230 Target: [8] + [5,1,5,0,5,7,1,6,1,3,1,8,1,2,3,0] , A=[] , C=0 , 8+0+0=8 , A->8 , C->0 [] + [5,1,5,0,5,7,1,6,1,3,1,8,1,2,3] , A=[8] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [5,1,5,0,5,7,1,6,1,3,1,8,1,2] , A=[3,8] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [5,1,5,0,5,7,1,6,1,3,1,8,1] , A=[2,3,8] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [5,1,5,0,5,7,1,6,1,3,1,8] , A=[1,2,3,8] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [5,1,5,0,5,7,1,6,1,3,1] , A=[8,1,2,3,8] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [5,1,5,0,5,7,1,6,1,3] , A=[1,8,1,2,3,8] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [5,1,5,0,5,7,1,6,1] , A=[3,1,8,1,2,3,8] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [5,1,5,0,5,7,1,6] , A=[1,3,1,8,1,2,3,8] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [5,1,5,0,5,7,1] , A=[6,1,3,1,8,1,2,3,8] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [5,1,5,0,5,7] , A=[1,6,1,3,1,8,1,2,3,8] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [5,1,5,0,5] , A=[7,1,6,1,3,1,8,1,2,3,8] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [5,1,5,0] , A=[5,7,1,6,1,3,1,8,1,2,3,8] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [5,1,5] , A=[0,5,7,1,6,1,3,1,8,1,2,3,8] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [5,1] , A=[5,0,5,7,1,6,1,3,1,8,1,2,3,8] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [5] , A=[1,5,0,5,7,1,6,1,3,1,8,1,2,3,8] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [] , A=[5,1,5,0,5,7,1,6,1,3,1,8,1,2,3,8] C=0 , END </scratch> 5150571613181238
5150571613181238
1
Input: 8840648689768233+269829156446859 Target:
Input: 8840648689768233+269829156446859 Target: [8,8,4,0,6,4,8,6,8,9,7,6,8,2,3,3] + [2,6,9,8,2,9,1,5,6,4,4,6,8,5,9] , A=[] , C=0 , 3+9+0=12 , A->2 , C->1 [8,8,4,0,6,4,8,6,8,9,7,6,8,2,3] + [2,6,9,8,2,9,1,5,6,4,4,6,8,5] , A=[2] , C=1 , 3+5+1=9 , A->9 , C->0 [8,8,4,0,6,4,8,6,8,9,7,6,8,2] + [2,6,9,8,2,9,1,5,6,4,4,6,8] , A=[9,2] , C=0 , 2+8+0=10 , A->0 , C->1 [8,8,4,0,6,4,8,6,8,9,7,6,8] + [2,6,9,8,2,9,1,5,6,4,4,6] , A=[0,9,2] , C=1 , 8+6+1=15 , A->5 , C->1 [8,8,4,0,6,4,8,6,8,9,7,6] + [2,6,9,8,2,9,1,5,6,4,4] , A=[5,0,9,2] , C=1 , 6+4+1=11 , A->1 , C->1 [8,8,4,0,6,4,8,6,8,9,7] + [2,6,9,8,2,9,1,5,6,4] , A=[1,5,0,9,2] , C=1 , 7+4+1=12 , A->2 , C->1 [8,8,4,0,6,4,8,6,8,9] + [2,6,9,8,2,9,1,5,6] , A=[2,1,5,0,9,2] , C=1 , 9+6+1=16 , A->6 , C->1 [8,8,4,0,6,4,8,6,8] + [2,6,9,8,2,9,1,5] , A=[6,2,1,5,0,9,2] , C=1 , 8+5+1=14 , A->4 , C->1 [8,8,4,0,6,4,8,6] + [2,6,9,8,2,9,1] , A=[4,6,2,1,5,0,9,2] , C=1 , 6+1+1=8 , A->8 , C->0 [8,8,4,0,6,4,8] + [2,6,9,8,2,9] , A=[8,4,6,2,1,5,0,9,2] , C=0 , 8+9+0=17 , A->7 , C->1 [8,8,4,0,6,4] + [2,6,9,8,2] , A=[7,8,4,6,2,1,5,0,9,2] , C=1 , 4+2+1=7 , A->7 , C->0 [8,8,4,0,6] + [2,6,9,8] , A=[7,7,8,4,6,2,1,5,0,9,2] , C=0 , 6+8+0=14 , A->4 , C->1 [8,8,4,0] + [2,6,9] , A=[4,7,7,8,4,6,2,1,5,0,9,2] , C=1 , 0+9+1=10 , A->0 , C->1 [8,8,4] + [2,6] , A=[0,4,7,7,8,4,6,2,1,5,0,9,2] , C=1 , 4+6+1=11 , A->1 , C->1 [8,8] + [2] , A=[1,0,4,7,7,8,4,6,2,1,5,0,9,2] , C=1 , 8+2+1=11 , A->1 , C->1 [8] + [] , A=[1,1,0,4,7,7,8,4,6,2,1,5,0,9,2] , C=1 , 8+0+1=9 , A->9 , C->0 [] + [] , A=[9,1,1,0,4,7,7,8,4,6,2,1,5,0,9,2] C=0 , END </scratch> 9110477846215092
9110477846215092
15
Input: 4390416838891837+5259 Target:
Input: 4390416838891837+5259 Target: [4,3,9,0,4,1,6,8,3,8,8,9,1,8,3,7] + [5,2,5,9] , A=[] , C=0 , 7+9+0=16 , A->6 , C->1 [4,3,9,0,4,1,6,8,3,8,8,9,1,8,3] + [5,2,5] , A=[6] , C=1 , 3+5+1=9 , A->9 , C->0 [4,3,9,0,4,1,6,8,3,8,8,9,1,8] + [5,2] , A=[9,6] , C=0 , 8+2+0=10 , A->0 , C->1 [4,3,9,0,4,1,6,8,3,8,8,9,1] + [5] , A=[0,9,6] , C=1 , 1+5+1=7 , A->7 , C->0 [4,3,9,0,4,1,6,8,3,8,8,9] + [] , A=[7,0,9,6] , C=0 , 9+0+0=9 , A->9 , C->0 [4,3,9,0,4,1,6,8,3,8,8] + [] , A=[9,7,0,9,6] , C=0 , 8+0+0=8 , A->8 , C->0 [4,3,9,0,4,1,6,8,3,8] + [] , A=[8,9,7,0,9,6] , C=0 , 8+0+0=8 , A->8 , C->0 [4,3,9,0,4,1,6,8,3] + [] , A=[8,8,9,7,0,9,6] , C=0 , 3+0+0=3 , A->3 , C->0 [4,3,9,0,4,1,6,8] + [] , A=[3,8,8,9,7,0,9,6] , C=0 , 8+0+0=8 , A->8 , C->0 [4,3,9,0,4,1,6] + [] , A=[8,3,8,8,9,7,0,9,6] , C=0 , 6+0+0=6 , A->6 , C->0 [4,3,9,0,4,1] + [] , A=[6,8,3,8,8,9,7,0,9,6] , C=0 , 1+0+0=1 , A->1 , C->0 [4,3,9,0,4] + [] , A=[1,6,8,3,8,8,9,7,0,9,6] , C=0 , 4+0+0=4 , A->4 , C->0 [4,3,9,0] + [] , A=[4,1,6,8,3,8,8,9,7,0,9,6] , C=0 , 0+0+0=0 , A->0 , C->0 [4,3,9] + [] , A=[0,4,1,6,8,3,8,8,9,7,0,9,6] , C=0 , 9+0+0=9 , A->9 , C->0 [4,3] + [] , A=[9,0,4,1,6,8,3,8,8,9,7,0,9,6] , C=0 , 3+0+0=3 , A->3 , C->0 [4] + [] , A=[3,9,0,4,1,6,8,3,8,8,9,7,0,9,6] , C=0 , 4+0+0=4 , A->4 , C->0 [] + [] , A=[4,3,9,0,4,1,6,8,3,8,8,9,7,0,9,6] C=0 , END </scratch> 4390416838897096
4390416838897096
4
Input: 918815+2254934202990098 Target:
Input: 918815+2254934202990098 Target: [9,1,8,8,1,5] + [2,2,5,4,9,3,4,2,0,2,9,9,0,0,9,8] , A=[] , C=0 , 5+8+0=13 , A->3 , C->1 [9,1,8,8,1] + [2,2,5,4,9,3,4,2,0,2,9,9,0,0,9] , A=[3] , C=1 , 1+9+1=11 , A->1 , C->1 [9,1,8,8] + [2,2,5,4,9,3,4,2,0,2,9,9,0,0] , A=[1,3] , C=1 , 8+0+1=9 , A->9 , C->0 [9,1,8] + [2,2,5,4,9,3,4,2,0,2,9,9,0] , A=[9,1,3] , C=0 , 8+0+0=8 , A->8 , C->0 [9,1] + [2,2,5,4,9,3,4,2,0,2,9,9] , A=[8,9,1,3] , C=0 , 1+9+0=10 , A->0 , C->1 [9] + [2,2,5,4,9,3,4,2,0,2,9] , A=[0,8,9,1,3] , C=1 , 9+9+1=19 , A->9 , C->1 [] + [2,2,5,4,9,3,4,2,0,2] , A=[9,0,8,9,1,3] , C=1 , 0+2+1=3 , A->3 , C->0 [] + [2,2,5,4,9,3,4,2,0] , A=[3,9,0,8,9,1,3] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [2,2,5,4,9,3,4,2] , A=[0,3,9,0,8,9,1,3] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [2,2,5,4,9,3,4] , A=[2,0,3,9,0,8,9,1,3] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [2,2,5,4,9,3] , A=[4,2,0,3,9,0,8,9,1,3] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [2,2,5,4,9] , A=[3,4,2,0,3,9,0,8,9,1,3] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [2,2,5,4] , A=[9,3,4,2,0,3,9,0,8,9,1,3] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [2,2,5] , A=[4,9,3,4,2,0,3,9,0,8,9,1,3] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [2,2] , A=[5,4,9,3,4,2,0,3,9,0,8,9,1,3] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [2] , A=[2,5,4,9,3,4,2,0,3,9,0,8,9,1,3] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [] , A=[2,2,5,4,9,3,4,2,0,3,9,0,8,9,1,3] C=0 , END </scratch> 2254934203908913
2254934203908913
6
Input: 7129255804855734+3 Target:
Input: 7129255804855734+3 Target: [7,1,2,9,2,5,5,8,0,4,8,5,5,7,3,4] + [3] , A=[] , C=0 , 4+3+0=7 , A->7 , C->0 [7,1,2,9,2,5,5,8,0,4,8,5,5,7,3] + [] , A=[7] , C=0 , 3+0+0=3 , A->3 , C->0 [7,1,2,9,2,5,5,8,0,4,8,5,5,7] + [] , A=[3,7] , C=0 , 7+0+0=7 , A->7 , C->0 [7,1,2,9,2,5,5,8,0,4,8,5,5] + [] , A=[7,3,7] , C=0 , 5+0+0=5 , A->5 , C->0 [7,1,2,9,2,5,5,8,0,4,8,5] + [] , A=[5,7,3,7] , C=0 , 5+0+0=5 , A->5 , C->0 [7,1,2,9,2,5,5,8,0,4,8] + [] , A=[5,5,7,3,7] , C=0 , 8+0+0=8 , A->8 , C->0 [7,1,2,9,2,5,5,8,0,4] + [] , A=[8,5,5,7,3,7] , C=0 , 4+0+0=4 , A->4 , C->0 [7,1,2,9,2,5,5,8,0] + [] , A=[4,8,5,5,7,3,7] , C=0 , 0+0+0=0 , A->0 , C->0 [7,1,2,9,2,5,5,8] + [] , A=[0,4,8,5,5,7,3,7] , C=0 , 8+0+0=8 , A->8 , C->0 [7,1,2,9,2,5,5] + [] , A=[8,0,4,8,5,5,7,3,7] , C=0 , 5+0+0=5 , A->5 , C->0 [7,1,2,9,2,5] + [] , A=[5,8,0,4,8,5,5,7,3,7] , C=0 , 5+0+0=5 , A->5 , C->0 [7,1,2,9,2] + [] , A=[5,5,8,0,4,8,5,5,7,3,7] , C=0 , 2+0+0=2 , A->2 , C->0 [7,1,2,9] + [] , A=[2,5,5,8,0,4,8,5,5,7,3,7] , C=0 , 9+0+0=9 , A->9 , C->0 [7,1,2] + [] , A=[9,2,5,5,8,0,4,8,5,5,7,3,7] , C=0 , 2+0+0=2 , A->2 , C->0 [7,1] + [] , A=[2,9,2,5,5,8,0,4,8,5,5,7,3,7] , C=0 , 1+0+0=1 , A->1 , C->0 [7] + [] , A=[1,2,9,2,5,5,8,0,4,8,5,5,7,3,7] , C=0 , 7+0+0=7 , A->7 , C->0 [] + [] , A=[7,1,2,9,2,5,5,8,0,4,8,5,5,7,3,7] C=0 , END </scratch> 7129255804855737
7129255804855737
1
Input: 22356711+8509143825198427 Target:
Input: 22356711+8509143825198427 Target: [2,2,3,5,6,7,1,1] + [8,5,0,9,1,4,3,8,2,5,1,9,8,4,2,7] , A=[] , C=0 , 1+7+0=8 , A->8 , C->0 [2,2,3,5,6,7,1] + [8,5,0,9,1,4,3,8,2,5,1,9,8,4,2] , A=[8] , C=0 , 1+2+0=3 , A->3 , C->0 [2,2,3,5,6,7] + [8,5,0,9,1,4,3,8,2,5,1,9,8,4] , A=[3,8] , C=0 , 7+4+0=11 , A->1 , C->1 [2,2,3,5,6] + [8,5,0,9,1,4,3,8,2,5,1,9,8] , A=[1,3,8] , C=1 , 6+8+1=15 , A->5 , C->1 [2,2,3,5] + [8,5,0,9,1,4,3,8,2,5,1,9] , A=[5,1,3,8] , C=1 , 5+9+1=15 , A->5 , C->1 [2,2,3] + [8,5,0,9,1,4,3,8,2,5,1] , A=[5,5,1,3,8] , C=1 , 3+1+1=5 , A->5 , C->0 [2,2] + [8,5,0,9,1,4,3,8,2,5] , A=[5,5,5,1,3,8] , C=0 , 2+5+0=7 , A->7 , C->0 [2] + [8,5,0,9,1,4,3,8,2] , A=[7,5,5,5,1,3,8] , C=0 , 2+2+0=4 , A->4 , C->0 [] + [8,5,0,9,1,4,3,8] , A=[4,7,5,5,5,1,3,8] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [8,5,0,9,1,4,3] , A=[8,4,7,5,5,5,1,3,8] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [8,5,0,9,1,4] , A=[3,8,4,7,5,5,5,1,3,8] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [8,5,0,9,1] , A=[4,3,8,4,7,5,5,5,1,3,8] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [8,5,0,9] , A=[1,4,3,8,4,7,5,5,5,1,3,8] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [8,5,0] , A=[9,1,4,3,8,4,7,5,5,5,1,3,8] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [8,5] , A=[0,9,1,4,3,8,4,7,5,5,5,1,3,8] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [8] , A=[5,0,9,1,4,3,8,4,7,5,5,5,1,3,8] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [] , A=[8,5,0,9,1,4,3,8,4,7,5,5,5,1,3,8] C=0 , END </scratch> 8509143847555138
8509143847555138
8
Input: 2279942422938452+39 Target:
Input: 2279942422938452+39 Target: [2,2,7,9,9,4,2,4,2,2,9,3,8,4,5,2] + [3,9] , A=[] , C=0 , 2+9+0=11 , A->1 , C->1 [2,2,7,9,9,4,2,4,2,2,9,3,8,4,5] + [3] , A=[1] , C=1 , 5+3+1=9 , A->9 , C->0 [2,2,7,9,9,4,2,4,2,2,9,3,8,4] + [] , A=[9,1] , C=0 , 4+0+0=4 , A->4 , C->0 [2,2,7,9,9,4,2,4,2,2,9,3,8] + [] , A=[4,9,1] , C=0 , 8+0+0=8 , A->8 , C->0 [2,2,7,9,9,4,2,4,2,2,9,3] + [] , A=[8,4,9,1] , C=0 , 3+0+0=3 , A->3 , C->0 [2,2,7,9,9,4,2,4,2,2,9] + [] , A=[3,8,4,9,1] , C=0 , 9+0+0=9 , A->9 , C->0 [2,2,7,9,9,4,2,4,2,2] + [] , A=[9,3,8,4,9,1] , C=0 , 2+0+0=2 , A->2 , C->0 [2,2,7,9,9,4,2,4,2] + [] , A=[2,9,3,8,4,9,1] , C=0 , 2+0+0=2 , A->2 , C->0 [2,2,7,9,9,4,2,4] + [] , A=[2,2,9,3,8,4,9,1] , C=0 , 4+0+0=4 , A->4 , C->0 [2,2,7,9,9,4,2] + [] , A=[4,2,2,9,3,8,4,9,1] , C=0 , 2+0+0=2 , A->2 , C->0 [2,2,7,9,9,4] + [] , A=[2,4,2,2,9,3,8,4,9,1] , C=0 , 4+0+0=4 , A->4 , C->0 [2,2,7,9,9] + [] , A=[4,2,4,2,2,9,3,8,4,9,1] , C=0 , 9+0+0=9 , A->9 , C->0 [2,2,7,9] + [] , A=[9,4,2,4,2,2,9,3,8,4,9,1] , C=0 , 9+0+0=9 , A->9 , C->0 [2,2,7] + [] , A=[9,9,4,2,4,2,2,9,3,8,4,9,1] , C=0 , 7+0+0=7 , A->7 , C->0 [2,2] + [] , A=[7,9,9,4,2,4,2,2,9,3,8,4,9,1] , C=0 , 2+0+0=2 , A->2 , C->0 [2] + [] , A=[2,7,9,9,4,2,4,2,2,9,3,8,4,9,1] , C=0 , 2+0+0=2 , A->2 , C->0 [] + [] , A=[2,2,7,9,9,4,2,4,2,2,9,3,8,4,9,1] C=0 , END </scratch> 2279942422938491
2279942422938491
2
Input: 3799009412409807+1703014 Target:
Input: 3799009412409807+1703014 Target: [3,7,9,9,0,0,9,4,1,2,4,0,9,8,0,7] + [1,7,0,3,0,1,4] , A=[] , C=0 , 7+4+0=11 , A->1 , C->1 [3,7,9,9,0,0,9,4,1,2,4,0,9,8,0] + [1,7,0,3,0,1] , A=[1] , C=1 , 0+1+1=2 , A->2 , C->0 [3,7,9,9,0,0,9,4,1,2,4,0,9,8] + [1,7,0,3,0] , A=[2,1] , C=0 , 8+0+0=8 , A->8 , C->0 [3,7,9,9,0,0,9,4,1,2,4,0,9] + [1,7,0,3] , A=[8,2,1] , C=0 , 9+3+0=12 , A->2 , C->1 [3,7,9,9,0,0,9,4,1,2,4,0] + [1,7,0] , A=[2,8,2,1] , C=1 , 0+0+1=1 , A->1 , C->0 [3,7,9,9,0,0,9,4,1,2,4] + [1,7] , A=[1,2,8,2,1] , C=0 , 4+7+0=11 , A->1 , C->1 [3,7,9,9,0,0,9,4,1,2] + [1] , A=[1,1,2,8,2,1] , C=1 , 2+1+1=4 , A->4 , C->0 [3,7,9,9,0,0,9,4,1] + [] , A=[4,1,1,2,8,2,1] , C=0 , 1+0+0=1 , A->1 , C->0 [3,7,9,9,0,0,9,4] + [] , A=[1,4,1,1,2,8,2,1] , C=0 , 4+0+0=4 , A->4 , C->0 [3,7,9,9,0,0,9] + [] , A=[4,1,4,1,1,2,8,2,1] , C=0 , 9+0+0=9 , A->9 , C->0 [3,7,9,9,0,0] + [] , A=[9,4,1,4,1,1,2,8,2,1] , C=0 , 0+0+0=0 , A->0 , C->0 [3,7,9,9,0] + [] , A=[0,9,4,1,4,1,1,2,8,2,1] , C=0 , 0+0+0=0 , A->0 , C->0 [3,7,9,9] + [] , A=[0,0,9,4,1,4,1,1,2,8,2,1] , C=0 , 9+0+0=9 , A->9 , C->0 [3,7,9] + [] , A=[9,0,0,9,4,1,4,1,1,2,8,2,1] , C=0 , 9+0+0=9 , A->9 , C->0 [3,7] + [] , A=[9,9,0,0,9,4,1,4,1,1,2,8,2,1] , C=0 , 7+0+0=7 , A->7 , C->0 [3] + [] , A=[7,9,9,0,0,9,4,1,4,1,1,2,8,2,1] , C=0 , 3+0+0=3 , A->3 , C->0 [] + [] , A=[3,7,9,9,0,0,9,4,1,4,1,1,2,8,2,1] C=0 , END </scratch> 3799009414112821
3799009414112821
7
Input: 21864716175+3063600851890524 Target:
Input: 21864716175+3063600851890524 Target: [2,1,8,6,4,7,1,6,1,7,5] + [3,0,6,3,6,0,0,8,5,1,8,9,0,5,2,4] , A=[] , C=0 , 5+4+0=9 , A->9 , C->0 [2,1,8,6,4,7,1,6,1,7] + [3,0,6,3,6,0,0,8,5,1,8,9,0,5,2] , A=[9] , C=0 , 7+2+0=9 , A->9 , C->0 [2,1,8,6,4,7,1,6,1] + [3,0,6,3,6,0,0,8,5,1,8,9,0,5] , A=[9,9] , C=0 , 1+5+0=6 , A->6 , C->0 [2,1,8,6,4,7,1,6] + [3,0,6,3,6,0,0,8,5,1,8,9,0] , A=[6,9,9] , C=0 , 6+0+0=6 , A->6 , C->0 [2,1,8,6,4,7,1] + [3,0,6,3,6,0,0,8,5,1,8,9] , A=[6,6,9,9] , C=0 , 1+9+0=10 , A->0 , C->1 [2,1,8,6,4,7] + [3,0,6,3,6,0,0,8,5,1,8] , A=[0,6,6,9,9] , C=1 , 7+8+1=16 , A->6 , C->1 [2,1,8,6,4] + [3,0,6,3,6,0,0,8,5,1] , A=[6,0,6,6,9,9] , C=1 , 4+1+1=6 , A->6 , C->0 [2,1,8,6] + [3,0,6,3,6,0,0,8,5] , A=[6,6,0,6,6,9,9] , C=0 , 6+5+0=11 , A->1 , C->1 [2,1,8] + [3,0,6,3,6,0,0,8] , A=[1,6,6,0,6,6,9,9] , C=1 , 8+8+1=17 , A->7 , C->1 [2,1] + [3,0,6,3,6,0,0] , A=[7,1,6,6,0,6,6,9,9] , C=1 , 1+0+1=2 , A->2 , C->0 [2] + [3,0,6,3,6,0] , A=[2,7,1,6,6,0,6,6,9,9] , C=0 , 2+0+0=2 , A->2 , C->0 [] + [3,0,6,3,6] , A=[2,2,7,1,6,6,0,6,6,9,9] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [3,0,6,3] , A=[6,2,2,7,1,6,6,0,6,6,9,9] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [3,0,6] , A=[3,6,2,2,7,1,6,6,0,6,6,9,9] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [3,0] , A=[6,3,6,2,2,7,1,6,6,0,6,6,9,9] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [3] , A=[0,6,3,6,2,2,7,1,6,6,0,6,6,9,9] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [] , A=[3,0,6,3,6,2,2,7,1,6,6,0,6,6,9,9] C=0 , END </scratch> 3063622716606699
3063622716606699
11
Input: 58+6363136513400014 Target:
Input: 58+6363136513400014 Target: [5,8] + [6,3,6,3,1,3,6,5,1,3,4,0,0,0,1,4] , A=[] , C=0 , 8+4+0=12 , A->2 , C->1 [5] + [6,3,6,3,1,3,6,5,1,3,4,0,0,0,1] , A=[2] , C=1 , 5+1+1=7 , A->7 , C->0 [] + [6,3,6,3,1,3,6,5,1,3,4,0,0,0] , A=[7,2] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [6,3,6,3,1,3,6,5,1,3,4,0,0] , A=[0,7,2] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [6,3,6,3,1,3,6,5,1,3,4,0] , A=[0,0,7,2] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [6,3,6,3,1,3,6,5,1,3,4] , A=[0,0,0,7,2] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [6,3,6,3,1,3,6,5,1,3] , A=[4,0,0,0,7,2] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [6,3,6,3,1,3,6,5,1] , A=[3,4,0,0,0,7,2] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [6,3,6,3,1,3,6,5] , A=[1,3,4,0,0,0,7,2] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [6,3,6,3,1,3,6] , A=[5,1,3,4,0,0,0,7,2] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [6,3,6,3,1,3] , A=[6,5,1,3,4,0,0,0,7,2] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [6,3,6,3,1] , A=[3,6,5,1,3,4,0,0,0,7,2] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [6,3,6,3] , A=[1,3,6,5,1,3,4,0,0,0,7,2] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [6,3,6] , A=[3,1,3,6,5,1,3,4,0,0,0,7,2] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [6,3] , A=[6,3,1,3,6,5,1,3,4,0,0,0,7,2] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [6] , A=[3,6,3,1,3,6,5,1,3,4,0,0,0,7,2] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [] , A=[6,3,6,3,1,3,6,5,1,3,4,0,0,0,7,2] C=0 , END </scratch> 6363136513400072
6363136513400072
2
Input: 7200506896622954+59023 Target:
Input: 7200506896622954+59023 Target: [7,2,0,0,5,0,6,8,9,6,6,2,2,9,5,4] + [5,9,0,2,3] , A=[] , C=0 , 4+3+0=7 , A->7 , C->0 [7,2,0,0,5,0,6,8,9,6,6,2,2,9,5] + [5,9,0,2] , A=[7] , C=0 , 5+2+0=7 , A->7 , C->0 [7,2,0,0,5,0,6,8,9,6,6,2,2,9] + [5,9,0] , A=[7,7] , C=0 , 9+0+0=9 , A->9 , C->0 [7,2,0,0,5,0,6,8,9,6,6,2,2] + [5,9] , A=[9,7,7] , C=0 , 2+9+0=11 , A->1 , C->1 [7,2,0,0,5,0,6,8,9,6,6,2] + [5] , A=[1,9,7,7] , C=1 , 2+5+1=8 , A->8 , C->0 [7,2,0,0,5,0,6,8,9,6,6] + [] , A=[8,1,9,7,7] , C=0 , 6+0+0=6 , A->6 , C->0 [7,2,0,0,5,0,6,8,9,6] + [] , A=[6,8,1,9,7,7] , C=0 , 6+0+0=6 , A->6 , C->0 [7,2,0,0,5,0,6,8,9] + [] , A=[6,6,8,1,9,7,7] , C=0 , 9+0+0=9 , A->9 , C->0 [7,2,0,0,5,0,6,8] + [] , A=[9,6,6,8,1,9,7,7] , C=0 , 8+0+0=8 , A->8 , C->0 [7,2,0,0,5,0,6] + [] , A=[8,9,6,6,8,1,9,7,7] , C=0 , 6+0+0=6 , A->6 , C->0 [7,2,0,0,5,0] + [] , A=[6,8,9,6,6,8,1,9,7,7] , C=0 , 0+0+0=0 , A->0 , C->0 [7,2,0,0,5] + [] , A=[0,6,8,9,6,6,8,1,9,7,7] , C=0 , 5+0+0=5 , A->5 , C->0 [7,2,0,0] + [] , A=[5,0,6,8,9,6,6,8,1,9,7,7] , C=0 , 0+0+0=0 , A->0 , C->0 [7,2,0] + [] , A=[0,5,0,6,8,9,6,6,8,1,9,7,7] , C=0 , 0+0+0=0 , A->0 , C->0 [7,2] + [] , A=[0,0,5,0,6,8,9,6,6,8,1,9,7,7] , C=0 , 2+0+0=2 , A->2 , C->0 [7] + [] , A=[2,0,0,5,0,6,8,9,6,6,8,1,9,7,7] , C=0 , 7+0+0=7 , A->7 , C->0 [] + [] , A=[7,2,0,0,5,0,6,8,9,6,6,8,1,9,7,7] C=0 , END </scratch> 7200506896681977
7200506896681977
5
Input: 87590396+3434279891636283 Target:
Input: 87590396+3434279891636283 Target: [8,7,5,9,0,3,9,6] + [3,4,3,4,2,7,9,8,9,1,6,3,6,2,8,3] , A=[] , C=0 , 6+3+0=9 , A->9 , C->0 [8,7,5,9,0,3,9] + [3,4,3,4,2,7,9,8,9,1,6,3,6,2,8] , A=[9] , C=0 , 9+8+0=17 , A->7 , C->1 [8,7,5,9,0,3] + [3,4,3,4,2,7,9,8,9,1,6,3,6,2] , A=[7,9] , C=1 , 3+2+1=6 , A->6 , C->0 [8,7,5,9,0] + [3,4,3,4,2,7,9,8,9,1,6,3,6] , A=[6,7,9] , C=0 , 0+6+0=6 , A->6 , C->0 [8,7,5,9] + [3,4,3,4,2,7,9,8,9,1,6,3] , A=[6,6,7,9] , C=0 , 9+3+0=12 , A->2 , C->1 [8,7,5] + [3,4,3,4,2,7,9,8,9,1,6] , A=[2,6,6,7,9] , C=1 , 5+6+1=12 , A->2 , C->1 [8,7] + [3,4,3,4,2,7,9,8,9,1] , A=[2,2,6,6,7,9] , C=1 , 7+1+1=9 , A->9 , C->0 [8] + [3,4,3,4,2,7,9,8,9] , A=[9,2,2,6,6,7,9] , C=0 , 8+9+0=17 , A->7 , C->1 [] + [3,4,3,4,2,7,9,8] , A=[7,9,2,2,6,6,7,9] , C=1 , 0+8+1=9 , A->9 , C->0 [] + [3,4,3,4,2,7,9] , A=[9,7,9,2,2,6,6,7,9] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [3,4,3,4,2,7] , A=[9,9,7,9,2,2,6,6,7,9] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [3,4,3,4,2] , A=[7,9,9,7,9,2,2,6,6,7,9] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [3,4,3,4] , A=[2,7,9,9,7,9,2,2,6,6,7,9] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [3,4,3] , A=[4,2,7,9,9,7,9,2,2,6,6,7,9] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [3,4] , A=[3,4,2,7,9,9,7,9,2,2,6,6,7,9] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [3] , A=[4,3,4,2,7,9,9,7,9,2,2,6,6,7,9] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [] , A=[3,4,3,4,2,7,9,9,7,9,2,2,6,6,7,9] C=0 , END </scratch> 3434279979226679
3434279979226679
8
Input: 5284737534154490+82218967386 Target:
Input: 5284737534154490+82218967386 Target: [5,2,8,4,7,3,7,5,3,4,1,5,4,4,9,0] + [8,2,2,1,8,9,6,7,3,8,6] , A=[] , C=0 , 0+6+0=6 , A->6 , C->0 [5,2,8,4,7,3,7,5,3,4,1,5,4,4,9] + [8,2,2,1,8,9,6,7,3,8] , A=[6] , C=0 , 9+8+0=17 , A->7 , C->1 [5,2,8,4,7,3,7,5,3,4,1,5,4,4] + [8,2,2,1,8,9,6,7,3] , A=[7,6] , C=1 , 4+3+1=8 , A->8 , C->0 [5,2,8,4,7,3,7,5,3,4,1,5,4] + [8,2,2,1,8,9,6,7] , A=[8,7,6] , C=0 , 4+7+0=11 , A->1 , C->1 [5,2,8,4,7,3,7,5,3,4,1,5] + [8,2,2,1,8,9,6] , A=[1,8,7,6] , C=1 , 5+6+1=12 , A->2 , C->1 [5,2,8,4,7,3,7,5,3,4,1] + [8,2,2,1,8,9] , A=[2,1,8,7,6] , C=1 , 1+9+1=11 , A->1 , C->1 [5,2,8,4,7,3,7,5,3,4] + [8,2,2,1,8] , A=[1,2,1,8,7,6] , C=1 , 4+8+1=13 , A->3 , C->1 [5,2,8,4,7,3,7,5,3] + [8,2,2,1] , A=[3,1,2,1,8,7,6] , C=1 , 3+1+1=5 , A->5 , C->0 [5,2,8,4,7,3,7,5] + [8,2,2] , A=[5,3,1,2,1,8,7,6] , C=0 , 5+2+0=7 , A->7 , C->0 [5,2,8,4,7,3,7] + [8,2] , A=[7,5,3,1,2,1,8,7,6] , C=0 , 7+2+0=9 , A->9 , C->0 [5,2,8,4,7,3] + [8] , A=[9,7,5,3,1,2,1,8,7,6] , C=0 , 3+8+0=11 , A->1 , C->1 [5,2,8,4,7] + [] , A=[1,9,7,5,3,1,2,1,8,7,6] , C=1 , 7+0+1=8 , A->8 , C->0 [5,2,8,4] + [] , A=[8,1,9,7,5,3,1,2,1,8,7,6] , C=0 , 4+0+0=4 , A->4 , C->0 [5,2,8] + [] , A=[4,8,1,9,7,5,3,1,2,1,8,7,6] , C=0 , 8+0+0=8 , A->8 , C->0 [5,2] + [] , A=[8,4,8,1,9,7,5,3,1,2,1,8,7,6] , C=0 , 2+0+0=2 , A->2 , C->0 [5] + [] , A=[2,8,4,8,1,9,7,5,3,1,2,1,8,7,6] , C=0 , 5+0+0=5 , A->5 , C->0 [] + [] , A=[5,2,8,4,8,1,9,7,5,3,1,2,1,8,7,6] C=0 , END </scratch> 5284819753121876
5284819753121876
11
Input: 3776877434188810+35420820008 Target:
Input: 3776877434188810+35420820008 Target: [3,7,7,6,8,7,7,4,3,4,1,8,8,8,1,0] + [3,5,4,2,0,8,2,0,0,0,8] , A=[] , C=0 , 0+8+0=8 , A->8 , C->0 [3,7,7,6,8,7,7,4,3,4,1,8,8,8,1] + [3,5,4,2,0,8,2,0,0,0] , A=[8] , C=0 , 1+0+0=1 , A->1 , C->0 [3,7,7,6,8,7,7,4,3,4,1,8,8,8] + [3,5,4,2,0,8,2,0,0] , A=[1,8] , C=0 , 8+0+0=8 , A->8 , C->0 [3,7,7,6,8,7,7,4,3,4,1,8,8] + [3,5,4,2,0,8,2,0] , A=[8,1,8] , C=0 , 8+0+0=8 , A->8 , C->0 [3,7,7,6,8,7,7,4,3,4,1,8] + [3,5,4,2,0,8,2] , A=[8,8,1,8] , C=0 , 8+2+0=10 , A->0 , C->1 [3,7,7,6,8,7,7,4,3,4,1] + [3,5,4,2,0,8] , A=[0,8,8,1,8] , C=1 , 1+8+1=10 , A->0 , C->1 [3,7,7,6,8,7,7,4,3,4] + [3,5,4,2,0] , A=[0,0,8,8,1,8] , C=1 , 4+0+1=5 , A->5 , C->0 [3,7,7,6,8,7,7,4,3] + [3,5,4,2] , A=[5,0,0,8,8,1,8] , C=0 , 3+2+0=5 , A->5 , C->0 [3,7,7,6,8,7,7,4] + [3,5,4] , A=[5,5,0,0,8,8,1,8] , C=0 , 4+4+0=8 , A->8 , C->0 [3,7,7,6,8,7,7] + [3,5] , A=[8,5,5,0,0,8,8,1,8] , C=0 , 7+5+0=12 , A->2 , C->1 [3,7,7,6,8,7] + [3] , A=[2,8,5,5,0,0,8,8,1,8] , C=1 , 7+3+1=11 , A->1 , C->1 [3,7,7,6,8] + [] , A=[1,2,8,5,5,0,0,8,8,1,8] , C=1 , 8+0+1=9 , A->9 , C->0 [3,7,7,6] + [] , A=[9,1,2,8,5,5,0,0,8,8,1,8] , C=0 , 6+0+0=6 , A->6 , C->0 [3,7,7] + [] , A=[6,9,1,2,8,5,5,0,0,8,8,1,8] , C=0 , 7+0+0=7 , A->7 , C->0 [3,7] + [] , A=[7,6,9,1,2,8,5,5,0,0,8,8,1,8] , C=0 , 7+0+0=7 , A->7 , C->0 [3] + [] , A=[7,7,6,9,1,2,8,5,5,0,0,8,8,1,8] , C=0 , 3+0+0=3 , A->3 , C->0 [] + [] , A=[3,7,7,6,9,1,2,8,5,5,0,0,8,8,1,8] C=0 , END </scratch> 3776912855008818
3776912855008818
11
Input: 560972599368+5829390378696165 Target:
Input: 560972599368+5829390378696165 Target: [5,6,0,9,7,2,5,9,9,3,6,8] + [5,8,2,9,3,9,0,3,7,8,6,9,6,1,6,5] , A=[] , C=0 , 8+5+0=13 , A->3 , C->1 [5,6,0,9,7,2,5,9,9,3,6] + [5,8,2,9,3,9,0,3,7,8,6,9,6,1,6] , A=[3] , C=1 , 6+6+1=13 , A->3 , C->1 [5,6,0,9,7,2,5,9,9,3] + [5,8,2,9,3,9,0,3,7,8,6,9,6,1] , A=[3,3] , C=1 , 3+1+1=5 , A->5 , C->0 [5,6,0,9,7,2,5,9,9] + [5,8,2,9,3,9,0,3,7,8,6,9,6] , A=[5,3,3] , C=0 , 9+6+0=15 , A->5 , C->1 [5,6,0,9,7,2,5,9] + [5,8,2,9,3,9,0,3,7,8,6,9] , A=[5,5,3,3] , C=1 , 9+9+1=19 , A->9 , C->1 [5,6,0,9,7,2,5] + [5,8,2,9,3,9,0,3,7,8,6] , A=[9,5,5,3,3] , C=1 , 5+6+1=12 , A->2 , C->1 [5,6,0,9,7,2] + [5,8,2,9,3,9,0,3,7,8] , A=[2,9,5,5,3,3] , C=1 , 2+8+1=11 , A->1 , C->1 [5,6,0,9,7] + [5,8,2,9,3,9,0,3,7] , A=[1,2,9,5,5,3,3] , C=1 , 7+7+1=15 , A->5 , C->1 [5,6,0,9] + [5,8,2,9,3,9,0,3] , A=[5,1,2,9,5,5,3,3] , C=1 , 9+3+1=13 , A->3 , C->1 [5,6,0] + [5,8,2,9,3,9,0] , A=[3,5,1,2,9,5,5,3,3] , C=1 , 0+0+1=1 , A->1 , C->0 [5,6] + [5,8,2,9,3,9] , A=[1,3,5,1,2,9,5,5,3,3] , C=0 , 6+9+0=15 , A->5 , C->1 [5] + [5,8,2,9,3] , A=[5,1,3,5,1,2,9,5,5,3,3] , C=1 , 5+3+1=9 , A->9 , C->0 [] + [5,8,2,9] , A=[9,5,1,3,5,1,2,9,5,5,3,3] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [5,8,2] , A=[9,9,5,1,3,5,1,2,9,5,5,3,3] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [5,8] , A=[2,9,9,5,1,3,5,1,2,9,5,5,3,3] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [5] , A=[8,2,9,9,5,1,3,5,1,2,9,5,5,3,3] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [] , A=[5,8,2,9,9,5,1,3,5,1,2,9,5,5,3,3] C=0 , END </scratch> 5829951351295533
5829951351295533
12
Input: 1827495750918067+1365 Target:
Input: 1827495750918067+1365 Target: [1,8,2,7,4,9,5,7,5,0,9,1,8,0,6,7] + [1,3,6,5] , A=[] , C=0 , 7+5+0=12 , A->2 , C->1 [1,8,2,7,4,9,5,7,5,0,9,1,8,0,6] + [1,3,6] , A=[2] , C=1 , 6+6+1=13 , A->3 , C->1 [1,8,2,7,4,9,5,7,5,0,9,1,8,0] + [1,3] , A=[3,2] , C=1 , 0+3+1=4 , A->4 , C->0 [1,8,2,7,4,9,5,7,5,0,9,1,8] + [1] , A=[4,3,2] , C=0 , 8+1+0=9 , A->9 , C->0 [1,8,2,7,4,9,5,7,5,0,9,1] + [] , A=[9,4,3,2] , C=0 , 1+0+0=1 , A->1 , C->0 [1,8,2,7,4,9,5,7,5,0,9] + [] , A=[1,9,4,3,2] , C=0 , 9+0+0=9 , A->9 , C->0 [1,8,2,7,4,9,5,7,5,0] + [] , A=[9,1,9,4,3,2] , C=0 , 0+0+0=0 , A->0 , C->0 [1,8,2,7,4,9,5,7,5] + [] , A=[0,9,1,9,4,3,2] , C=0 , 5+0+0=5 , A->5 , C->0 [1,8,2,7,4,9,5,7] + [] , A=[5,0,9,1,9,4,3,2] , C=0 , 7+0+0=7 , A->7 , C->0 [1,8,2,7,4,9,5] + [] , A=[7,5,0,9,1,9,4,3,2] , C=0 , 5+0+0=5 , A->5 , C->0 [1,8,2,7,4,9] + [] , A=[5,7,5,0,9,1,9,4,3,2] , C=0 , 9+0+0=9 , A->9 , C->0 [1,8,2,7,4] + [] , A=[9,5,7,5,0,9,1,9,4,3,2] , C=0 , 4+0+0=4 , A->4 , C->0 [1,8,2,7] + [] , A=[4,9,5,7,5,0,9,1,9,4,3,2] , C=0 , 7+0+0=7 , A->7 , C->0 [1,8,2] + [] , A=[7,4,9,5,7,5,0,9,1,9,4,3,2] , C=0 , 2+0+0=2 , A->2 , C->0 [1,8] + [] , A=[2,7,4,9,5,7,5,0,9,1,9,4,3,2] , C=0 , 8+0+0=8 , A->8 , C->0 [1] + [] , A=[8,2,7,4,9,5,7,5,0,9,1,9,4,3,2] , C=0 , 1+0+0=1 , A->1 , C->0 [] + [] , A=[1,8,2,7,4,9,5,7,5,0,9,1,9,4,3,2] C=0 , END </scratch> 1827495750919432
1827495750919432
4
Input: 6567976860217196+438893128534602 Target:
Input: 6567976860217196+438893128534602 Target: [6,5,6,7,9,7,6,8,6,0,2,1,7,1,9,6] + [4,3,8,8,9,3,1,2,8,5,3,4,6,0,2] , A=[] , C=0 , 6+2+0=8 , A->8 , C->0 [6,5,6,7,9,7,6,8,6,0,2,1,7,1,9] + [4,3,8,8,9,3,1,2,8,5,3,4,6,0] , A=[8] , C=0 , 9+0+0=9 , A->9 , C->0 [6,5,6,7,9,7,6,8,6,0,2,1,7,1] + [4,3,8,8,9,3,1,2,8,5,3,4,6] , A=[9,8] , C=0 , 1+6+0=7 , A->7 , C->0 [6,5,6,7,9,7,6,8,6,0,2,1,7] + [4,3,8,8,9,3,1,2,8,5,3,4] , A=[7,9,8] , C=0 , 7+4+0=11 , A->1 , C->1 [6,5,6,7,9,7,6,8,6,0,2,1] + [4,3,8,8,9,3,1,2,8,5,3] , A=[1,7,9,8] , C=1 , 1+3+1=5 , A->5 , C->0 [6,5,6,7,9,7,6,8,6,0,2] + [4,3,8,8,9,3,1,2,8,5] , A=[5,1,7,9,8] , C=0 , 2+5+0=7 , A->7 , C->0 [6,5,6,7,9,7,6,8,6,0] + [4,3,8,8,9,3,1,2,8] , A=[7,5,1,7,9,8] , C=0 , 0+8+0=8 , A->8 , C->0 [6,5,6,7,9,7,6,8,6] + [4,3,8,8,9,3,1,2] , A=[8,7,5,1,7,9,8] , C=0 , 6+2+0=8 , A->8 , C->0 [6,5,6,7,9,7,6,8] + [4,3,8,8,9,3,1] , A=[8,8,7,5,1,7,9,8] , C=0 , 8+1+0=9 , A->9 , C->0 [6,5,6,7,9,7,6] + [4,3,8,8,9,3] , A=[9,8,8,7,5,1,7,9,8] , C=0 , 6+3+0=9 , A->9 , C->0 [6,5,6,7,9,7] + [4,3,8,8,9] , A=[9,9,8,8,7,5,1,7,9,8] , C=0 , 7+9+0=16 , A->6 , C->1 [6,5,6,7,9] + [4,3,8,8] , A=[6,9,9,8,8,7,5,1,7,9,8] , C=1 , 9+8+1=18 , A->8 , C->1 [6,5,6,7] + [4,3,8] , A=[8,6,9,9,8,8,7,5,1,7,9,8] , C=1 , 7+8+1=16 , A->6 , C->1 [6,5,6] + [4,3] , A=[6,8,6,9,9,8,8,7,5,1,7,9,8] , C=1 , 6+3+1=10 , A->0 , C->1 [6,5] + [4] , A=[0,6,8,6,9,9,8,8,7,5,1,7,9,8] , C=1 , 5+4+1=10 , A->0 , C->1 [6] + [] , A=[0,0,6,8,6,9,9,8,8,7,5,1,7,9,8] , C=1 , 6+0+1=7 , A->7 , C->0 [] + [] , A=[7,0,0,6,8,6,9,9,8,8,7,5,1,7,9,8] C=0 , END </scratch> 7006869988751798
7006869988751798
15
Input: 349388990136786+9375914389733903 Target:
Input: 349388990136786+9375914389733903 Target: [3,4,9,3,8,8,9,9,0,1,3,6,7,8,6] + [9,3,7,5,9,1,4,3,8,9,7,3,3,9,0,3] , A=[] , C=0 , 6+3+0=9 , A->9 , C->0 [3,4,9,3,8,8,9,9,0,1,3,6,7,8] + [9,3,7,5,9,1,4,3,8,9,7,3,3,9,0] , A=[9] , C=0 , 8+0+0=8 , A->8 , C->0 [3,4,9,3,8,8,9,9,0,1,3,6,7] + [9,3,7,5,9,1,4,3,8,9,7,3,3,9] , A=[8,9] , C=0 , 7+9+0=16 , A->6 , C->1 [3,4,9,3,8,8,9,9,0,1,3,6] + [9,3,7,5,9,1,4,3,8,9,7,3,3] , A=[6,8,9] , C=1 , 6+3+1=10 , A->0 , C->1 [3,4,9,3,8,8,9,9,0,1,3] + [9,3,7,5,9,1,4,3,8,9,7,3] , A=[0,6,8,9] , C=1 , 3+3+1=7 , A->7 , C->0 [3,4,9,3,8,8,9,9,0,1] + [9,3,7,5,9,1,4,3,8,9,7] , A=[7,0,6,8,9] , C=0 , 1+7+0=8 , A->8 , C->0 [3,4,9,3,8,8,9,9,0] + [9,3,7,5,9,1,4,3,8,9] , A=[8,7,0,6,8,9] , C=0 , 0+9+0=9 , A->9 , C->0 [3,4,9,3,8,8,9,9] + [9,3,7,5,9,1,4,3,8] , A=[9,8,7,0,6,8,9] , C=0 , 9+8+0=17 , A->7 , C->1 [3,4,9,3,8,8,9] + [9,3,7,5,9,1,4,3] , A=[7,9,8,7,0,6,8,9] , C=1 , 9+3+1=13 , A->3 , C->1 [3,4,9,3,8,8] + [9,3,7,5,9,1,4] , A=[3,7,9,8,7,0,6,8,9] , C=1 , 8+4+1=13 , A->3 , C->1 [3,4,9,3,8] + [9,3,7,5,9,1] , A=[3,3,7,9,8,7,0,6,8,9] , C=1 , 8+1+1=10 , A->0 , C->1 [3,4,9,3] + [9,3,7,5,9] , A=[0,3,3,7,9,8,7,0,6,8,9] , C=1 , 3+9+1=13 , A->3 , C->1 [3,4,9] + [9,3,7,5] , A=[3,0,3,3,7,9,8,7,0,6,8,9] , C=1 , 9+5+1=15 , A->5 , C->1 [3,4] + [9,3,7] , A=[5,3,0,3,3,7,9,8,7,0,6,8,9] , C=1 , 4+7+1=12 , A->2 , C->1 [3] + [9,3] , A=[2,5,3,0,3,3,7,9,8,7,0,6,8,9] , C=1 , 3+3+1=7 , A->7 , C->0 [] + [9] , A=[7,2,5,3,0,3,3,7,9,8,7,0,6,8,9] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [] , A=[9,7,2,5,3,0,3,3,7,9,8,7,0,6,8,9] C=0 , END </scratch> 9725303379870689
9725303379870689
15
Input: 44422037866+7790358486255219 Target:
Input: 44422037866+7790358486255219 Target: [4,4,4,2,2,0,3,7,8,6,6] + [7,7,9,0,3,5,8,4,8,6,2,5,5,2,1,9] , A=[] , C=0 , 6+9+0=15 , A->5 , C->1 [4,4,4,2,2,0,3,7,8,6] + [7,7,9,0,3,5,8,4,8,6,2,5,5,2,1] , A=[5] , C=1 , 6+1+1=8 , A->8 , C->0 [4,4,4,2,2,0,3,7,8] + [7,7,9,0,3,5,8,4,8,6,2,5,5,2] , A=[8,5] , C=0 , 8+2+0=10 , A->0 , C->1 [4,4,4,2,2,0,3,7] + [7,7,9,0,3,5,8,4,8,6,2,5,5] , A=[0,8,5] , C=1 , 7+5+1=13 , A->3 , C->1 [4,4,4,2,2,0,3] + [7,7,9,0,3,5,8,4,8,6,2,5] , A=[3,0,8,5] , C=1 , 3+5+1=9 , A->9 , C->0 [4,4,4,2,2,0] + [7,7,9,0,3,5,8,4,8,6,2] , A=[9,3,0,8,5] , C=0 , 0+2+0=2 , A->2 , C->0 [4,4,4,2,2] + [7,7,9,0,3,5,8,4,8,6] , A=[2,9,3,0,8,5] , C=0 , 2+6+0=8 , A->8 , C->0 [4,4,4,2] + [7,7,9,0,3,5,8,4,8] , A=[8,2,9,3,0,8,5] , C=0 , 2+8+0=10 , A->0 , C->1 [4,4,4] + [7,7,9,0,3,5,8,4] , A=[0,8,2,9,3,0,8,5] , C=1 , 4+4+1=9 , A->9 , C->0 [4,4] + [7,7,9,0,3,5,8] , A=[9,0,8,2,9,3,0,8,5] , C=0 , 4+8+0=12 , A->2 , C->1 [4] + [7,7,9,0,3,5] , A=[2,9,0,8,2,9,3,0,8,5] , C=1 , 4+5+1=10 , A->0 , C->1 [] + [7,7,9,0,3] , A=[0,2,9,0,8,2,9,3,0,8,5] , C=1 , 0+3+1=4 , A->4 , C->0 [] + [7,7,9,0] , A=[4,0,2,9,0,8,2,9,3,0,8,5] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [7,7,9] , A=[0,4,0,2,9,0,8,2,9,3,0,8,5] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [7,7] , A=[9,0,4,0,2,9,0,8,2,9,3,0,8,5] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [7] , A=[7,9,0,4,0,2,9,0,8,2,9,3,0,8,5] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [] , A=[7,7,9,0,4,0,2,9,0,8,2,9,3,0,8,5] C=0 , END </scratch> 7790402908293085
7790402908293085
11
Input: 9607191527573039+936 Target:
Input: 9607191527573039+936 Target: [9,6,0,7,1,9,1,5,2,7,5,7,3,0,3,9] + [9,3,6] , A=[] , C=0 , 9+6+0=15 , A->5 , C->1 [9,6,0,7,1,9,1,5,2,7,5,7,3,0,3] + [9,3] , A=[5] , C=1 , 3+3+1=7 , A->7 , C->0 [9,6,0,7,1,9,1,5,2,7,5,7,3,0] + [9] , A=[7,5] , C=0 , 0+9+0=9 , A->9 , C->0 [9,6,0,7,1,9,1,5,2,7,5,7,3] + [] , A=[9,7,5] , C=0 , 3+0+0=3 , A->3 , C->0 [9,6,0,7,1,9,1,5,2,7,5,7] + [] , A=[3,9,7,5] , C=0 , 7+0+0=7 , A->7 , C->0 [9,6,0,7,1,9,1,5,2,7,5] + [] , A=[7,3,9,7,5] , C=0 , 5+0+0=5 , A->5 , C->0 [9,6,0,7,1,9,1,5,2,7] + [] , A=[5,7,3,9,7,5] , C=0 , 7+0+0=7 , A->7 , C->0 [9,6,0,7,1,9,1,5,2] + [] , A=[7,5,7,3,9,7,5] , C=0 , 2+0+0=2 , A->2 , C->0 [9,6,0,7,1,9,1,5] + [] , A=[2,7,5,7,3,9,7,5] , C=0 , 5+0+0=5 , A->5 , C->0 [9,6,0,7,1,9,1] + [] , A=[5,2,7,5,7,3,9,7,5] , C=0 , 1+0+0=1 , A->1 , C->0 [9,6,0,7,1,9] + [] , A=[1,5,2,7,5,7,3,9,7,5] , C=0 , 9+0+0=9 , A->9 , C->0 [9,6,0,7,1] + [] , A=[9,1,5,2,7,5,7,3,9,7,5] , C=0 , 1+0+0=1 , A->1 , C->0 [9,6,0,7] + [] , A=[1,9,1,5,2,7,5,7,3,9,7,5] , C=0 , 7+0+0=7 , A->7 , C->0 [9,6,0] + [] , A=[7,1,9,1,5,2,7,5,7,3,9,7,5] , C=0 , 0+0+0=0 , A->0 , C->0 [9,6] + [] , A=[0,7,1,9,1,5,2,7,5,7,3,9,7,5] , C=0 , 6+0+0=6 , A->6 , C->0 [9] + [] , A=[6,0,7,1,9,1,5,2,7,5,7,3,9,7,5] , C=0 , 9+0+0=9 , A->9 , C->0 [] + [] , A=[9,6,0,7,1,9,1,5,2,7,5,7,3,9,7,5] C=0 , END </scratch> 9607191527573975
9607191527573975
3
Input: 704075+5342328859729894 Target:
Input: 704075+5342328859729894 Target: [7,0,4,0,7,5] + [5,3,4,2,3,2,8,8,5,9,7,2,9,8,9,4] , A=[] , C=0 , 5+4+0=9 , A->9 , C->0 [7,0,4,0,7] + [5,3,4,2,3,2,8,8,5,9,7,2,9,8,9] , A=[9] , C=0 , 7+9+0=16 , A->6 , C->1 [7,0,4,0] + [5,3,4,2,3,2,8,8,5,9,7,2,9,8] , A=[6,9] , C=1 , 0+8+1=9 , A->9 , C->0 [7,0,4] + [5,3,4,2,3,2,8,8,5,9,7,2,9] , A=[9,6,9] , C=0 , 4+9+0=13 , A->3 , C->1 [7,0] + [5,3,4,2,3,2,8,8,5,9,7,2] , A=[3,9,6,9] , C=1 , 0+2+1=3 , A->3 , C->0 [7] + [5,3,4,2,3,2,8,8,5,9,7] , A=[3,3,9,6,9] , C=0 , 7+7+0=14 , A->4 , C->1 [] + [5,3,4,2,3,2,8,8,5,9] , A=[4,3,3,9,6,9] , C=1 , 0+9+1=10 , A->0 , C->1 [] + [5,3,4,2,3,2,8,8,5] , A=[0,4,3,3,9,6,9] , C=1 , 0+5+1=6 , A->6 , C->0 [] + [5,3,4,2,3,2,8,8] , A=[6,0,4,3,3,9,6,9] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [5,3,4,2,3,2,8] , A=[8,6,0,4,3,3,9,6,9] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [5,3,4,2,3,2] , A=[8,8,6,0,4,3,3,9,6,9] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [5,3,4,2,3] , A=[2,8,8,6,0,4,3,3,9,6,9] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [5,3,4,2] , A=[3,2,8,8,6,0,4,3,3,9,6,9] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [5,3,4] , A=[2,3,2,8,8,6,0,4,3,3,9,6,9] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [5,3] , A=[4,2,3,2,8,8,6,0,4,3,3,9,6,9] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [5] , A=[3,4,2,3,2,8,8,6,0,4,3,3,9,6,9] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [] , A=[5,3,4,2,3,2,8,8,6,0,4,3,3,9,6,9] C=0 , END </scratch> 5342328860433969
5342328860433969
6
Input: 2696395065178285+99675844195 Target:
Input: 2696395065178285+99675844195 Target: [2,6,9,6,3,9,5,0,6,5,1,7,8,2,8,5] + [9,9,6,7,5,8,4,4,1,9,5] , A=[] , C=0 , 5+5+0=10 , A->0 , C->1 [2,6,9,6,3,9,5,0,6,5,1,7,8,2,8] + [9,9,6,7,5,8,4,4,1,9] , A=[0] , C=1 , 8+9+1=18 , A->8 , C->1 [2,6,9,6,3,9,5,0,6,5,1,7,8,2] + [9,9,6,7,5,8,4,4,1] , A=[8,0] , C=1 , 2+1+1=4 , A->4 , C->0 [2,6,9,6,3,9,5,0,6,5,1,7,8] + [9,9,6,7,5,8,4,4] , A=[4,8,0] , C=0 , 8+4+0=12 , A->2 , C->1 [2,6,9,6,3,9,5,0,6,5,1,7] + [9,9,6,7,5,8,4] , A=[2,4,8,0] , C=1 , 7+4+1=12 , A->2 , C->1 [2,6,9,6,3,9,5,0,6,5,1] + [9,9,6,7,5,8] , A=[2,2,4,8,0] , C=1 , 1+8+1=10 , A->0 , C->1 [2,6,9,6,3,9,5,0,6,5] + [9,9,6,7,5] , A=[0,2,2,4,8,0] , C=1 , 5+5+1=11 , A->1 , C->1 [2,6,9,6,3,9,5,0,6] + [9,9,6,7] , A=[1,0,2,2,4,8,0] , C=1 , 6+7+1=14 , A->4 , C->1 [2,6,9,6,3,9,5,0] + [9,9,6] , A=[4,1,0,2,2,4,8,0] , C=1 , 0+6+1=7 , A->7 , C->0 [2,6,9,6,3,9,5] + [9,9] , A=[7,4,1,0,2,2,4,8,0] , C=0 , 5+9+0=14 , A->4 , C->1 [2,6,9,6,3,9] + [9] , A=[4,7,4,1,0,2,2,4,8,0] , C=1 , 9+9+1=19 , A->9 , C->1 [2,6,9,6,3] + [] , A=[9,4,7,4,1,0,2,2,4,8,0] , C=1 , 3+0+1=4 , A->4 , C->0 [2,6,9,6] + [] , A=[4,9,4,7,4,1,0,2,2,4,8,0] , C=0 , 6+0+0=6 , A->6 , C->0 [2,6,9] + [] , A=[6,4,9,4,7,4,1,0,2,2,4,8,0] , C=0 , 9+0+0=9 , A->9 , C->0 [2,6] + [] , A=[9,6,4,9,4,7,4,1,0,2,2,4,8,0] , C=0 , 6+0+0=6 , A->6 , C->0 [2] + [] , A=[6,9,6,4,9,4,7,4,1,0,2,2,4,8,0] , C=0 , 2+0+0=2 , A->2 , C->0 [] + [] , A=[2,6,9,6,4,9,4,7,4,1,0,2,2,4,8,0] C=0 , END </scratch> 2696494741022480
2696494741022480
11
Input: 19+5417756230852983 Target:
Input: 19+5417756230852983 Target: [1,9] + [5,4,1,7,7,5,6,2,3,0,8,5,2,9,8,3] , A=[] , C=0 , 9+3+0=12 , A->2 , C->1 [1] + [5,4,1,7,7,5,6,2,3,0,8,5,2,9,8] , A=[2] , C=1 , 1+8+1=10 , A->0 , C->1 [] + [5,4,1,7,7,5,6,2,3,0,8,5,2,9] , A=[0,2] , C=1 , 0+9+1=10 , A->0 , C->1 [] + [5,4,1,7,7,5,6,2,3,0,8,5,2] , A=[0,0,2] , C=1 , 0+2+1=3 , A->3 , C->0 [] + [5,4,1,7,7,5,6,2,3,0,8,5] , A=[3,0,0,2] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [5,4,1,7,7,5,6,2,3,0,8] , A=[5,3,0,0,2] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [5,4,1,7,7,5,6,2,3,0] , A=[8,5,3,0,0,2] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [5,4,1,7,7,5,6,2,3] , A=[0,8,5,3,0,0,2] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [5,4,1,7,7,5,6,2] , A=[3,0,8,5,3,0,0,2] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [5,4,1,7,7,5,6] , A=[2,3,0,8,5,3,0,0,2] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [5,4,1,7,7,5] , A=[6,2,3,0,8,5,3,0,0,2] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [5,4,1,7,7] , A=[5,6,2,3,0,8,5,3,0,0,2] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [5,4,1,7] , A=[7,5,6,2,3,0,8,5,3,0,0,2] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [5,4,1] , A=[7,7,5,6,2,3,0,8,5,3,0,0,2] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [5,4] , A=[1,7,7,5,6,2,3,0,8,5,3,0,0,2] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [5] , A=[4,1,7,7,5,6,2,3,0,8,5,3,0,0,2] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [] , A=[5,4,1,7,7,5,6,2,3,0,8,5,3,0,0,2] C=0 , END </scratch> 5417756230853002
5417756230853002
2
Input: 5091126724138095+169434699587351 Target:
Input: 5091126724138095+169434699587351 Target: [5,0,9,1,1,2,6,7,2,4,1,3,8,0,9,5] + [1,6,9,4,3,4,6,9,9,5,8,7,3,5,1] , A=[] , C=0 , 5+1+0=6 , A->6 , C->0 [5,0,9,1,1,2,6,7,2,4,1,3,8,0,9] + [1,6,9,4,3,4,6,9,9,5,8,7,3,5] , A=[6] , C=0 , 9+5+0=14 , A->4 , C->1 [5,0,9,1,1,2,6,7,2,4,1,3,8,0] + [1,6,9,4,3,4,6,9,9,5,8,7,3] , A=[4,6] , C=1 , 0+3+1=4 , A->4 , C->0 [5,0,9,1,1,2,6,7,2,4,1,3,8] + [1,6,9,4,3,4,6,9,9,5,8,7] , A=[4,4,6] , C=0 , 8+7+0=15 , A->5 , C->1 [5,0,9,1,1,2,6,7,2,4,1,3] + [1,6,9,4,3,4,6,9,9,5,8] , A=[5,4,4,6] , C=1 , 3+8+1=12 , A->2 , C->1 [5,0,9,1,1,2,6,7,2,4,1] + [1,6,9,4,3,4,6,9,9,5] , A=[2,5,4,4,6] , C=1 , 1+5+1=7 , A->7 , C->0 [5,0,9,1,1,2,6,7,2,4] + [1,6,9,4,3,4,6,9,9] , A=[7,2,5,4,4,6] , C=0 , 4+9+0=13 , A->3 , C->1 [5,0,9,1,1,2,6,7,2] + [1,6,9,4,3,4,6,9] , A=[3,7,2,5,4,4,6] , C=1 , 2+9+1=12 , A->2 , C->1 [5,0,9,1,1,2,6,7] + [1,6,9,4,3,4,6] , A=[2,3,7,2,5,4,4,6] , C=1 , 7+6+1=14 , A->4 , C->1 [5,0,9,1,1,2,6] + [1,6,9,4,3,4] , A=[4,2,3,7,2,5,4,4,6] , C=1 , 6+4+1=11 , A->1 , C->1 [5,0,9,1,1,2] + [1,6,9,4,3] , A=[1,4,2,3,7,2,5,4,4,6] , C=1 , 2+3+1=6 , A->6 , C->0 [5,0,9,1,1] + [1,6,9,4] , A=[6,1,4,2,3,7,2,5,4,4,6] , C=0 , 1+4+0=5 , A->5 , C->0 [5,0,9,1] + [1,6,9] , A=[5,6,1,4,2,3,7,2,5,4,4,6] , C=0 , 1+9+0=10 , A->0 , C->1 [5,0,9] + [1,6] , A=[0,5,6,1,4,2,3,7,2,5,4,4,6] , C=1 , 9+6+1=16 , A->6 , C->1 [5,0] + [1] , A=[6,0,5,6,1,4,2,3,7,2,5,4,4,6] , C=1 , 0+1+1=2 , A->2 , C->0 [5] + [] , A=[2,6,0,5,6,1,4,2,3,7,2,5,4,4,6] , C=0 , 5+0+0=5 , A->5 , C->0 [] + [] , A=[5,2,6,0,5,6,1,4,2,3,7,2,5,4,4,6] C=0 , END </scratch> 5260561423725446
5260561423725446
15
Input: 2702576565+2080672884271913 Target:
Input: 2702576565+2080672884271913 Target: [2,7,0,2,5,7,6,5,6,5] + [2,0,8,0,6,7,2,8,8,4,2,7,1,9,1,3] , A=[] , C=0 , 5+3+0=8 , A->8 , C->0 [2,7,0,2,5,7,6,5,6] + [2,0,8,0,6,7,2,8,8,4,2,7,1,9,1] , A=[8] , C=0 , 6+1+0=7 , A->7 , C->0 [2,7,0,2,5,7,6,5] + [2,0,8,0,6,7,2,8,8,4,2,7,1,9] , A=[7,8] , C=0 , 5+9+0=14 , A->4 , C->1 [2,7,0,2,5,7,6] + [2,0,8,0,6,7,2,8,8,4,2,7,1] , A=[4,7,8] , C=1 , 6+1+1=8 , A->8 , C->0 [2,7,0,2,5,7] + [2,0,8,0,6,7,2,8,8,4,2,7] , A=[8,4,7,8] , C=0 , 7+7+0=14 , A->4 , C->1 [2,7,0,2,5] + [2,0,8,0,6,7,2,8,8,4,2] , A=[4,8,4,7,8] , C=1 , 5+2+1=8 , A->8 , C->0 [2,7,0,2] + [2,0,8,0,6,7,2,8,8,4] , A=[8,4,8,4,7,8] , C=0 , 2+4+0=6 , A->6 , C->0 [2,7,0] + [2,0,8,0,6,7,2,8,8] , A=[6,8,4,8,4,7,8] , C=0 , 0+8+0=8 , A->8 , C->0 [2,7] + [2,0,8,0,6,7,2,8] , A=[8,6,8,4,8,4,7,8] , C=0 , 7+8+0=15 , A->5 , C->1 [2] + [2,0,8,0,6,7,2] , A=[5,8,6,8,4,8,4,7,8] , C=1 , 2+2+1=5 , A->5 , C->0 [] + [2,0,8,0,6,7] , A=[5,5,8,6,8,4,8,4,7,8] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [2,0,8,0,6] , A=[7,5,5,8,6,8,4,8,4,7,8] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [2,0,8,0] , A=[6,7,5,5,8,6,8,4,8,4,7,8] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [2,0,8] , A=[0,6,7,5,5,8,6,8,4,8,4,7,8] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [2,0] , A=[8,0,6,7,5,5,8,6,8,4,8,4,7,8] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [2] , A=[0,8,0,6,7,5,5,8,6,8,4,8,4,7,8] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [] , A=[2,0,8,0,6,7,5,5,8,6,8,4,8,4,7,8] C=0 , END </scratch> 2080675586848478
2080675586848478
10
Input: 7879779147048439+7593018747381386 Target:
Input: 7879779147048439+7593018747381386 Target: [7,8,7,9,7,7,9,1,4,7,0,4,8,4,3,9] + [7,5,9,3,0,1,8,7,4,7,3,8,1,3,8,6] , A=[] , C=0 , 9+6+0=15 , A->5 , C->1 [7,8,7,9,7,7,9,1,4,7,0,4,8,4,3] + [7,5,9,3,0,1,8,7,4,7,3,8,1,3,8] , A=[5] , C=1 , 3+8+1=12 , A->2 , C->1 [7,8,7,9,7,7,9,1,4,7,0,4,8,4] + [7,5,9,3,0,1,8,7,4,7,3,8,1,3] , A=[2,5] , C=1 , 4+3+1=8 , A->8 , C->0 [7,8,7,9,7,7,9,1,4,7,0,4,8] + [7,5,9,3,0,1,8,7,4,7,3,8,1] , A=[8,2,5] , C=0 , 8+1+0=9 , A->9 , C->0 [7,8,7,9,7,7,9,1,4,7,0,4] + [7,5,9,3,0,1,8,7,4,7,3,8] , A=[9,8,2,5] , C=0 , 4+8+0=12 , A->2 , C->1 [7,8,7,9,7,7,9,1,4,7,0] + [7,5,9,3,0,1,8,7,4,7,3] , A=[2,9,8,2,5] , C=1 , 0+3+1=4 , A->4 , C->0 [7,8,7,9,7,7,9,1,4,7] + [7,5,9,3,0,1,8,7,4,7] , A=[4,2,9,8,2,5] , C=0 , 7+7+0=14 , A->4 , C->1 [7,8,7,9,7,7,9,1,4] + [7,5,9,3,0,1,8,7,4] , A=[4,4,2,9,8,2,5] , C=1 , 4+4+1=9 , A->9 , C->0 [7,8,7,9,7,7,9,1] + [7,5,9,3,0,1,8,7] , A=[9,4,4,2,9,8,2,5] , C=0 , 1+7+0=8 , A->8 , C->0 [7,8,7,9,7,7,9] + [7,5,9,3,0,1,8] , A=[8,9,4,4,2,9,8,2,5] , C=0 , 9+8+0=17 , A->7 , C->1 [7,8,7,9,7,7] + [7,5,9,3,0,1] , A=[7,8,9,4,4,2,9,8,2,5] , C=1 , 7+1+1=9 , A->9 , C->0 [7,8,7,9,7] + [7,5,9,3,0] , A=[9,7,8,9,4,4,2,9,8,2,5] , C=0 , 7+0+0=7 , A->7 , C->0 [7,8,7,9] + [7,5,9,3] , A=[7,9,7,8,9,4,4,2,9,8,2,5] , C=0 , 9+3+0=12 , A->2 , C->1 [7,8,7] + [7,5,9] , A=[2,7,9,7,8,9,4,4,2,9,8,2,5] , C=1 , 7+9+1=17 , A->7 , C->1 [7,8] + [7,5] , A=[7,2,7,9,7,8,9,4,4,2,9,8,2,5] , C=1 , 8+5+1=14 , A->4 , C->1 [7] + [7] , A=[4,7,2,7,9,7,8,9,4,4,2,9,8,2,5] , C=1 , 7+7+1=15 , A->5 , C->1 [] + [] , A=[5,4,7,2,7,9,7,8,9,4,4,2,9,8,2,5] C=1 , END </scratch> 15472797894429825
15472797894429825
16
Input: 327841299+2249086380899964 Target:
Input: 327841299+2249086380899964 Target: [3,2,7,8,4,1,2,9,9] + [2,2,4,9,0,8,6,3,8,0,8,9,9,9,6,4] , A=[] , C=0 , 9+4+0=13 , A->3 , C->1 [3,2,7,8,4,1,2,9] + [2,2,4,9,0,8,6,3,8,0,8,9,9,9,6] , A=[3] , C=1 , 9+6+1=16 , A->6 , C->1 [3,2,7,8,4,1,2] + [2,2,4,9,0,8,6,3,8,0,8,9,9,9] , A=[6,3] , C=1 , 2+9+1=12 , A->2 , C->1 [3,2,7,8,4,1] + [2,2,4,9,0,8,6,3,8,0,8,9,9] , A=[2,6,3] , C=1 , 1+9+1=11 , A->1 , C->1 [3,2,7,8,4] + [2,2,4,9,0,8,6,3,8,0,8,9] , A=[1,2,6,3] , C=1 , 4+9+1=14 , A->4 , C->1 [3,2,7,8] + [2,2,4,9,0,8,6,3,8,0,8] , A=[4,1,2,6,3] , C=1 , 8+8+1=17 , A->7 , C->1 [3,2,7] + [2,2,4,9,0,8,6,3,8,0] , A=[7,4,1,2,6,3] , C=1 , 7+0+1=8 , A->8 , C->0 [3,2] + [2,2,4,9,0,8,6,3,8] , A=[8,7,4,1,2,6,3] , C=0 , 2+8+0=10 , A->0 , C->1 [3] + [2,2,4,9,0,8,6,3] , A=[0,8,7,4,1,2,6,3] , C=1 , 3+3+1=7 , A->7 , C->0 [] + [2,2,4,9,0,8,6] , A=[7,0,8,7,4,1,2,6,3] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [2,2,4,9,0,8] , A=[6,7,0,8,7,4,1,2,6,3] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [2,2,4,9,0] , A=[8,6,7,0,8,7,4,1,2,6,3] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [2,2,4,9] , A=[0,8,6,7,0,8,7,4,1,2,6,3] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [2,2,4] , A=[9,0,8,6,7,0,8,7,4,1,2,6,3] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [2,2] , A=[4,9,0,8,6,7,0,8,7,4,1,2,6,3] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [2] , A=[2,4,9,0,8,6,7,0,8,7,4,1,2,6,3] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [] , A=[2,2,4,9,0,8,6,7,0,8,7,4,1,2,6,3] C=0 , END </scratch> 2249086708741263
2249086708741263
9
Input: 651642896819636+3082704040274401 Target:
Input: 651642896819636+3082704040274401 Target: [6,5,1,6,4,2,8,9,6,8,1,9,6,3,6] + [3,0,8,2,7,0,4,0,4,0,2,7,4,4,0,1] , A=[] , C=0 , 6+1+0=7 , A->7 , C->0 [6,5,1,6,4,2,8,9,6,8,1,9,6,3] + [3,0,8,2,7,0,4,0,4,0,2,7,4,4,0] , A=[7] , C=0 , 3+0+0=3 , A->3 , C->0 [6,5,1,6,4,2,8,9,6,8,1,9,6] + [3,0,8,2,7,0,4,0,4,0,2,7,4,4] , A=[3,7] , C=0 , 6+4+0=10 , A->0 , C->1 [6,5,1,6,4,2,8,9,6,8,1,9] + [3,0,8,2,7,0,4,0,4,0,2,7,4] , A=[0,3,7] , C=1 , 9+4+1=14 , A->4 , C->1 [6,5,1,6,4,2,8,9,6,8,1] + [3,0,8,2,7,0,4,0,4,0,2,7] , A=[4,0,3,7] , C=1 , 1+7+1=9 , A->9 , C->0 [6,5,1,6,4,2,8,9,6,8] + [3,0,8,2,7,0,4,0,4,0,2] , A=[9,4,0,3,7] , C=0 , 8+2+0=10 , A->0 , C->1 [6,5,1,6,4,2,8,9,6] + [3,0,8,2,7,0,4,0,4,0] , A=[0,9,4,0,3,7] , C=1 , 6+0+1=7 , A->7 , C->0 [6,5,1,6,4,2,8,9] + [3,0,8,2,7,0,4,0,4] , A=[7,0,9,4,0,3,7] , C=0 , 9+4+0=13 , A->3 , C->1 [6,5,1,6,4,2,8] + [3,0,8,2,7,0,4,0] , A=[3,7,0,9,4,0,3,7] , C=1 , 8+0+1=9 , A->9 , C->0 [6,5,1,6,4,2] + [3,0,8,2,7,0,4] , A=[9,3,7,0,9,4,0,3,7] , C=0 , 2+4+0=6 , A->6 , C->0 [6,5,1,6,4] + [3,0,8,2,7,0] , A=[6,9,3,7,0,9,4,0,3,7] , C=0 , 4+0+0=4 , A->4 , C->0 [6,5,1,6] + [3,0,8,2,7] , A=[4,6,9,3,7,0,9,4,0,3,7] , C=0 , 6+7+0=13 , A->3 , C->1 [6,5,1] + [3,0,8,2] , A=[3,4,6,9,3,7,0,9,4,0,3,7] , C=1 , 1+2+1=4 , A->4 , C->0 [6,5] + [3,0,8] , A=[4,3,4,6,9,3,7,0,9,4,0,3,7] , C=0 , 5+8+0=13 , A->3 , C->1 [6] + [3,0] , A=[3,4,3,4,6,9,3,7,0,9,4,0,3,7] , C=1 , 6+0+1=7 , A->7 , C->0 [] + [3] , A=[7,3,4,3,4,6,9,3,7,0,9,4,0,3,7] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [] , A=[3,7,3,4,3,4,6,9,3,7,0,9,4,0,3,7] C=0 , END </scratch> 3734346937094037
3734346937094037
15
Input: 100724+4811767791319573 Target:
Input: 100724+4811767791319573 Target: [1,0,0,7,2,4] + [4,8,1,1,7,6,7,7,9,1,3,1,9,5,7,3] , A=[] , C=0 , 4+3+0=7 , A->7 , C->0 [1,0,0,7,2] + [4,8,1,1,7,6,7,7,9,1,3,1,9,5,7] , A=[7] , C=0 , 2+7+0=9 , A->9 , C->0 [1,0,0,7] + [4,8,1,1,7,6,7,7,9,1,3,1,9,5] , A=[9,7] , C=0 , 7+5+0=12 , A->2 , C->1 [1,0,0] + [4,8,1,1,7,6,7,7,9,1,3,1,9] , A=[2,9,7] , C=1 , 0+9+1=10 , A->0 , C->1 [1,0] + [4,8,1,1,7,6,7,7,9,1,3,1] , A=[0,2,9,7] , C=1 , 0+1+1=2 , A->2 , C->0 [1] + [4,8,1,1,7,6,7,7,9,1,3] , A=[2,0,2,9,7] , C=0 , 1+3+0=4 , A->4 , C->0 [] + [4,8,1,1,7,6,7,7,9,1] , A=[4,2,0,2,9,7] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [4,8,1,1,7,6,7,7,9] , A=[1,4,2,0,2,9,7] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [4,8,1,1,7,6,7,7] , A=[9,1,4,2,0,2,9,7] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [4,8,1,1,7,6,7] , A=[7,9,1,4,2,0,2,9,7] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [4,8,1,1,7,6] , A=[7,7,9,1,4,2,0,2,9,7] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [4,8,1,1,7] , A=[6,7,7,9,1,4,2,0,2,9,7] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [4,8,1,1] , A=[7,6,7,7,9,1,4,2,0,2,9,7] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [4,8,1] , A=[1,7,6,7,7,9,1,4,2,0,2,9,7] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [4,8] , A=[1,1,7,6,7,7,9,1,4,2,0,2,9,7] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [4] , A=[8,1,1,7,6,7,7,9,1,4,2,0,2,9,7] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [] , A=[4,8,1,1,7,6,7,7,9,1,4,2,0,2,9,7] C=0 , END </scratch> 4811767791420297
4811767791420297
6
Input: 9317+5564224915354706 Target:
Input: 9317+5564224915354706 Target: [9,3,1,7] + [5,5,6,4,2,2,4,9,1,5,3,5,4,7,0,6] , A=[] , C=0 , 7+6+0=13 , A->3 , C->1 [9,3,1] + [5,5,6,4,2,2,4,9,1,5,3,5,4,7,0] , A=[3] , C=1 , 1+0+1=2 , A->2 , C->0 [9,3] + [5,5,6,4,2,2,4,9,1,5,3,5,4,7] , A=[2,3] , C=0 , 3+7+0=10 , A->0 , C->1 [9] + [5,5,6,4,2,2,4,9,1,5,3,5,4] , A=[0,2,3] , C=1 , 9+4+1=14 , A->4 , C->1 [] + [5,5,6,4,2,2,4,9,1,5,3,5] , A=[4,0,2,3] , C=1 , 0+5+1=6 , A->6 , C->0 [] + [5,5,6,4,2,2,4,9,1,5,3] , A=[6,4,0,2,3] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [5,5,6,4,2,2,4,9,1,5] , A=[3,6,4,0,2,3] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [5,5,6,4,2,2,4,9,1] , A=[5,3,6,4,0,2,3] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [5,5,6,4,2,2,4,9] , A=[1,5,3,6,4,0,2,3] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [5,5,6,4,2,2,4] , A=[9,1,5,3,6,4,0,2,3] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [5,5,6,4,2,2] , A=[4,9,1,5,3,6,4,0,2,3] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [5,5,6,4,2] , A=[2,4,9,1,5,3,6,4,0,2,3] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [5,5,6,4] , A=[2,2,4,9,1,5,3,6,4,0,2,3] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [5,5,6] , A=[4,2,2,4,9,1,5,3,6,4,0,2,3] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [5,5] , A=[6,4,2,2,4,9,1,5,3,6,4,0,2,3] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [5] , A=[5,6,4,2,2,4,9,1,5,3,6,4,0,2,3] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [] , A=[5,5,6,4,2,2,4,9,1,5,3,6,4,0,2,3] C=0 , END </scratch> 5564224915364023
5564224915364023
4
Input: 562531141+5135054915713794 Target:
Input: 562531141+5135054915713794 Target: [5,6,2,5,3,1,1,4,1] + [5,1,3,5,0,5,4,9,1,5,7,1,3,7,9,4] , A=[] , C=0 , 1+4+0=5 , A->5 , C->0 [5,6,2,5,3,1,1,4] + [5,1,3,5,0,5,4,9,1,5,7,1,3,7,9] , A=[5] , C=0 , 4+9+0=13 , A->3 , C->1 [5,6,2,5,3,1,1] + [5,1,3,5,0,5,4,9,1,5,7,1,3,7] , A=[3,5] , C=1 , 1+7+1=9 , A->9 , C->0 [5,6,2,5,3,1] + [5,1,3,5,0,5,4,9,1,5,7,1,3] , A=[9,3,5] , C=0 , 1+3+0=4 , A->4 , C->0 [5,6,2,5,3] + [5,1,3,5,0,5,4,9,1,5,7,1] , A=[4,9,3,5] , C=0 , 3+1+0=4 , A->4 , C->0 [5,6,2,5] + [5,1,3,5,0,5,4,9,1,5,7] , A=[4,4,9,3,5] , C=0 , 5+7+0=12 , A->2 , C->1 [5,6,2] + [5,1,3,5,0,5,4,9,1,5] , A=[2,4,4,9,3,5] , C=1 , 2+5+1=8 , A->8 , C->0 [5,6] + [5,1,3,5,0,5,4,9,1] , A=[8,2,4,4,9,3,5] , C=0 , 6+1+0=7 , A->7 , C->0 [5] + [5,1,3,5,0,5,4,9] , A=[7,8,2,4,4,9,3,5] , C=0 , 5+9+0=14 , A->4 , C->1 [] + [5,1,3,5,0,5,4] , A=[4,7,8,2,4,4,9,3,5] , C=1 , 0+4+1=5 , A->5 , C->0 [] + [5,1,3,5,0,5] , A=[5,4,7,8,2,4,4,9,3,5] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [5,1,3,5,0] , A=[5,5,4,7,8,2,4,4,9,3,5] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [5,1,3,5] , A=[0,5,5,4,7,8,2,4,4,9,3,5] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [5,1,3] , A=[5,0,5,5,4,7,8,2,4,4,9,3,5] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [5,1] , A=[3,5,0,5,5,4,7,8,2,4,4,9,3,5] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [5] , A=[1,3,5,0,5,5,4,7,8,2,4,4,9,3,5] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [] , A=[5,1,3,5,0,5,5,4,7,8,2,4,4,9,3,5] C=0 , END </scratch> 5135055478244935
5135055478244935
9
Input: 4933446463282370+964246430 Target:
Input: 4933446463282370+964246430 Target: [4,9,3,3,4,4,6,4,6,3,2,8,2,3,7,0] + [9,6,4,2,4,6,4,3,0] , A=[] , C=0 , 0+0+0=0 , A->0 , C->0 [4,9,3,3,4,4,6,4,6,3,2,8,2,3,7] + [9,6,4,2,4,6,4,3] , A=[0] , C=0 , 7+3+0=10 , A->0 , C->1 [4,9,3,3,4,4,6,4,6,3,2,8,2,3] + [9,6,4,2,4,6,4] , A=[0,0] , C=1 , 3+4+1=8 , A->8 , C->0 [4,9,3,3,4,4,6,4,6,3,2,8,2] + [9,6,4,2,4,6] , A=[8,0,0] , C=0 , 2+6+0=8 , A->8 , C->0 [4,9,3,3,4,4,6,4,6,3,2,8] + [9,6,4,2,4] , A=[8,8,0,0] , C=0 , 8+4+0=12 , A->2 , C->1 [4,9,3,3,4,4,6,4,6,3,2] + [9,6,4,2] , A=[2,8,8,0,0] , C=1 , 2+2+1=5 , A->5 , C->0 [4,9,3,3,4,4,6,4,6,3] + [9,6,4] , A=[5,2,8,8,0,0] , C=0 , 3+4+0=7 , A->7 , C->0 [4,9,3,3,4,4,6,4,6] + [9,6] , A=[7,5,2,8,8,0,0] , C=0 , 6+6+0=12 , A->2 , C->1 [4,9,3,3,4,4,6,4] + [9] , A=[2,7,5,2,8,8,0,0] , C=1 , 4+9+1=14 , A->4 , C->1 [4,9,3,3,4,4,6] + [] , A=[4,2,7,5,2,8,8,0,0] , C=1 , 6+0+1=7 , A->7 , C->0 [4,9,3,3,4,4] + [] , A=[7,4,2,7,5,2,8,8,0,0] , C=0 , 4+0+0=4 , A->4 , C->0 [4,9,3,3,4] + [] , A=[4,7,4,2,7,5,2,8,8,0,0] , C=0 , 4+0+0=4 , A->4 , C->0 [4,9,3,3] + [] , A=[4,4,7,4,2,7,5,2,8,8,0,0] , C=0 , 3+0+0=3 , A->3 , C->0 [4,9,3] + [] , A=[3,4,4,7,4,2,7,5,2,8,8,0,0] , C=0 , 3+0+0=3 , A->3 , C->0 [4,9] + [] , A=[3,3,4,4,7,4,2,7,5,2,8,8,0,0] , C=0 , 9+0+0=9 , A->9 , C->0 [4] + [] , A=[9,3,3,4,4,7,4,2,7,5,2,8,8,0,0] , C=0 , 4+0+0=4 , A->4 , C->0 [] + [] , A=[4,9,3,3,4,4,7,4,2,7,5,2,8,8,0,0] C=0 , END </scratch> 4933447427528800
4933447427528800
9
Input: 8183853478862+1226688002672423 Target:
Input: 8183853478862+1226688002672423 Target: [8,1,8,3,8,5,3,4,7,8,8,6,2] + [1,2,2,6,6,8,8,0,0,2,6,7,2,4,2,3] , A=[] , C=0 , 2+3+0=5 , A->5 , C->0 [8,1,8,3,8,5,3,4,7,8,8,6] + [1,2,2,6,6,8,8,0,0,2,6,7,2,4,2] , A=[5] , C=0 , 6+2+0=8 , A->8 , C->0 [8,1,8,3,8,5,3,4,7,8,8] + [1,2,2,6,6,8,8,0,0,2,6,7,2,4] , A=[8,5] , C=0 , 8+4+0=12 , A->2 , C->1 [8,1,8,3,8,5,3,4,7,8] + [1,2,2,6,6,8,8,0,0,2,6,7,2] , A=[2,8,5] , C=1 , 8+2+1=11 , A->1 , C->1 [8,1,8,3,8,5,3,4,7] + [1,2,2,6,6,8,8,0,0,2,6,7] , A=[1,2,8,5] , C=1 , 7+7+1=15 , A->5 , C->1 [8,1,8,3,8,5,3,4] + [1,2,2,6,6,8,8,0,0,2,6] , A=[5,1,2,8,5] , C=1 , 4+6+1=11 , A->1 , C->1 [8,1,8,3,8,5,3] + [1,2,2,6,6,8,8,0,0,2] , A=[1,5,1,2,8,5] , C=1 , 3+2+1=6 , A->6 , C->0 [8,1,8,3,8,5] + [1,2,2,6,6,8,8,0,0] , A=[6,1,5,1,2,8,5] , C=0 , 5+0+0=5 , A->5 , C->0 [8,1,8,3,8] + [1,2,2,6,6,8,8,0] , A=[5,6,1,5,1,2,8,5] , C=0 , 8+0+0=8 , A->8 , C->0 [8,1,8,3] + [1,2,2,6,6,8,8] , A=[8,5,6,1,5,1,2,8,5] , C=0 , 3+8+0=11 , A->1 , C->1 [8,1,8] + [1,2,2,6,6,8] , A=[1,8,5,6,1,5,1,2,8,5] , C=1 , 8+8+1=17 , A->7 , C->1 [8,1] + [1,2,2,6,6] , A=[7,1,8,5,6,1,5,1,2,8,5] , C=1 , 1+6+1=8 , A->8 , C->0 [8] + [1,2,2,6] , A=[8,7,1,8,5,6,1,5,1,2,8,5] , C=0 , 8+6+0=14 , A->4 , C->1 [] + [1,2,2] , A=[4,8,7,1,8,5,6,1,5,1,2,8,5] , C=1 , 0+2+1=3 , A->3 , C->0 [] + [1,2] , A=[3,4,8,7,1,8,5,6,1,5,1,2,8,5] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [1] , A=[2,3,4,8,7,1,8,5,6,1,5,1,2,8,5] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [] , A=[1,2,3,4,8,7,1,8,5,6,1,5,1,2,8,5] C=0 , END </scratch> 1234871856151285
1234871856151285
13
Input: 305255361+7049812924441490 Target:
Input: 305255361+7049812924441490 Target: [3,0,5,2,5,5,3,6,1] + [7,0,4,9,8,1,2,9,2,4,4,4,1,4,9,0] , A=[] , C=0 , 1+0+0=1 , A->1 , C->0 [3,0,5,2,5,5,3,6] + [7,0,4,9,8,1,2,9,2,4,4,4,1,4,9] , A=[1] , C=0 , 6+9+0=15 , A->5 , C->1 [3,0,5,2,5,5,3] + [7,0,4,9,8,1,2,9,2,4,4,4,1,4] , A=[5,1] , C=1 , 3+4+1=8 , A->8 , C->0 [3,0,5,2,5,5] + [7,0,4,9,8,1,2,9,2,4,4,4,1] , A=[8,5,1] , C=0 , 5+1+0=6 , A->6 , C->0 [3,0,5,2,5] + [7,0,4,9,8,1,2,9,2,4,4,4] , A=[6,8,5,1] , C=0 , 5+4+0=9 , A->9 , C->0 [3,0,5,2] + [7,0,4,9,8,1,2,9,2,4,4] , A=[9,6,8,5,1] , C=0 , 2+4+0=6 , A->6 , C->0 [3,0,5] + [7,0,4,9,8,1,2,9,2,4] , A=[6,9,6,8,5,1] , C=0 , 5+4+0=9 , A->9 , C->0 [3,0] + [7,0,4,9,8,1,2,9,2] , A=[9,6,9,6,8,5,1] , C=0 , 0+2+0=2 , A->2 , C->0 [3] + [7,0,4,9,8,1,2,9] , A=[2,9,6,9,6,8,5,1] , C=0 , 3+9+0=12 , A->2 , C->1 [] + [7,0,4,9,8,1,2] , A=[2,2,9,6,9,6,8,5,1] , C=1 , 0+2+1=3 , A->3 , C->0 [] + [7,0,4,9,8,1] , A=[3,2,2,9,6,9,6,8,5,1] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [7,0,4,9,8] , A=[1,3,2,2,9,6,9,6,8,5,1] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [7,0,4,9] , A=[8,1,3,2,2,9,6,9,6,8,5,1] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [7,0,4] , A=[9,8,1,3,2,2,9,6,9,6,8,5,1] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [7,0] , A=[4,9,8,1,3,2,2,9,6,9,6,8,5,1] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [7] , A=[0,4,9,8,1,3,2,2,9,6,9,6,8,5,1] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [] , A=[7,0,4,9,8,1,3,2,2,9,6,9,6,8,5,1] C=0 , END </scratch> 7049813229696851
7049813229696851
9
Input: 1501451658087051+529 Target:
Input: 1501451658087051+529 Target: [1,5,0,1,4,5,1,6,5,8,0,8,7,0,5,1] + [5,2,9] , A=[] , C=0 , 1+9+0=10 , A->0 , C->1 [1,5,0,1,4,5,1,6,5,8,0,8,7,0,5] + [5,2] , A=[0] , C=1 , 5+2+1=8 , A->8 , C->0 [1,5,0,1,4,5,1,6,5,8,0,8,7,0] + [5] , A=[8,0] , C=0 , 0+5+0=5 , A->5 , C->0 [1,5,0,1,4,5,1,6,5,8,0,8,7] + [] , A=[5,8,0] , C=0 , 7+0+0=7 , A->7 , C->0 [1,5,0,1,4,5,1,6,5,8,0,8] + [] , A=[7,5,8,0] , C=0 , 8+0+0=8 , A->8 , C->0 [1,5,0,1,4,5,1,6,5,8,0] + [] , A=[8,7,5,8,0] , C=0 , 0+0+0=0 , A->0 , C->0 [1,5,0,1,4,5,1,6,5,8] + [] , A=[0,8,7,5,8,0] , C=0 , 8+0+0=8 , A->8 , C->0 [1,5,0,1,4,5,1,6,5] + [] , A=[8,0,8,7,5,8,0] , C=0 , 5+0+0=5 , A->5 , C->0 [1,5,0,1,4,5,1,6] + [] , A=[5,8,0,8,7,5,8,0] , C=0 , 6+0+0=6 , A->6 , C->0 [1,5,0,1,4,5,1] + [] , A=[6,5,8,0,8,7,5,8,0] , C=0 , 1+0+0=1 , A->1 , C->0 [1,5,0,1,4,5] + [] , A=[1,6,5,8,0,8,7,5,8,0] , C=0 , 5+0+0=5 , A->5 , C->0 [1,5,0,1,4] + [] , A=[5,1,6,5,8,0,8,7,5,8,0] , C=0 , 4+0+0=4 , A->4 , C->0 [1,5,0,1] + [] , A=[4,5,1,6,5,8,0,8,7,5,8,0] , C=0 , 1+0+0=1 , A->1 , C->0 [1,5,0] + [] , A=[1,4,5,1,6,5,8,0,8,7,5,8,0] , C=0 , 0+0+0=0 , A->0 , C->0 [1,5] + [] , A=[0,1,4,5,1,6,5,8,0,8,7,5,8,0] , C=0 , 5+0+0=5 , A->5 , C->0 [1] + [] , A=[5,0,1,4,5,1,6,5,8,0,8,7,5,8,0] , C=0 , 1+0+0=1 , A->1 , C->0 [] + [] , A=[1,5,0,1,4,5,1,6,5,8,0,8,7,5,8,0] C=0 , END </scratch> 1501451658087580
1501451658087580
3
Input: 6960542823519+8732205376815813 Target:
Input: 6960542823519+8732205376815813 Target: [6,9,6,0,5,4,2,8,2,3,5,1,9] + [8,7,3,2,2,0,5,3,7,6,8,1,5,8,1,3] , A=[] , C=0 , 9+3+0=12 , A->2 , C->1 [6,9,6,0,5,4,2,8,2,3,5,1] + [8,7,3,2,2,0,5,3,7,6,8,1,5,8,1] , A=[2] , C=1 , 1+1+1=3 , A->3 , C->0 [6,9,6,0,5,4,2,8,2,3,5] + [8,7,3,2,2,0,5,3,7,6,8,1,5,8] , A=[3,2] , C=0 , 5+8+0=13 , A->3 , C->1 [6,9,6,0,5,4,2,8,2,3] + [8,7,3,2,2,0,5,3,7,6,8,1,5] , A=[3,3,2] , C=1 , 3+5+1=9 , A->9 , C->0 [6,9,6,0,5,4,2,8,2] + [8,7,3,2,2,0,5,3,7,6,8,1] , A=[9,3,3,2] , C=0 , 2+1+0=3 , A->3 , C->0 [6,9,6,0,5,4,2,8] + [8,7,3,2,2,0,5,3,7,6,8] , A=[3,9,3,3,2] , C=0 , 8+8+0=16 , A->6 , C->1 [6,9,6,0,5,4,2] + [8,7,3,2,2,0,5,3,7,6] , A=[6,3,9,3,3,2] , C=1 , 2+6+1=9 , A->9 , C->0 [6,9,6,0,5,4] + [8,7,3,2,2,0,5,3,7] , A=[9,6,3,9,3,3,2] , C=0 , 4+7+0=11 , A->1 , C->1 [6,9,6,0,5] + [8,7,3,2,2,0,5,3] , A=[1,9,6,3,9,3,3,2] , C=1 , 5+3+1=9 , A->9 , C->0 [6,9,6,0] + [8,7,3,2,2,0,5] , A=[9,1,9,6,3,9,3,3,2] , C=0 , 0+5+0=5 , A->5 , C->0 [6,9,6] + [8,7,3,2,2,0] , A=[5,9,1,9,6,3,9,3,3,2] , C=0 , 6+0+0=6 , A->6 , C->0 [6,9] + [8,7,3,2,2] , A=[6,5,9,1,9,6,3,9,3,3,2] , C=0 , 9+2+0=11 , A->1 , C->1 [6] + [8,7,3,2] , A=[1,6,5,9,1,9,6,3,9,3,3,2] , C=1 , 6+2+1=9 , A->9 , C->0 [] + [8,7,3] , A=[9,1,6,5,9,1,9,6,3,9,3,3,2] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [8,7] , A=[3,9,1,6,5,9,1,9,6,3,9,3,3,2] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [8] , A=[7,3,9,1,6,5,9,1,9,6,3,9,3,3,2] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [] , A=[8,7,3,9,1,6,5,9,1,9,6,3,9,3,3,2] C=0 , END </scratch> 8739165919639332
8739165919639332
13
Input: 6259293549518161+465403859 Target:
Input: 6259293549518161+465403859 Target: [6,2,5,9,2,9,3,5,4,9,5,1,8,1,6,1] + [4,6,5,4,0,3,8,5,9] , A=[] , C=0 , 1+9+0=10 , A->0 , C->1 [6,2,5,9,2,9,3,5,4,9,5,1,8,1,6] + [4,6,5,4,0,3,8,5] , A=[0] , C=1 , 6+5+1=12 , A->2 , C->1 [6,2,5,9,2,9,3,5,4,9,5,1,8,1] + [4,6,5,4,0,3,8] , A=[2,0] , C=1 , 1+8+1=10 , A->0 , C->1 [6,2,5,9,2,9,3,5,4,9,5,1,8] + [4,6,5,4,0,3] , A=[0,2,0] , C=1 , 8+3+1=12 , A->2 , C->1 [6,2,5,9,2,9,3,5,4,9,5,1] + [4,6,5,4,0] , A=[2,0,2,0] , C=1 , 1+0+1=2 , A->2 , C->0 [6,2,5,9,2,9,3,5,4,9,5] + [4,6,5,4] , A=[2,2,0,2,0] , C=0 , 5+4+0=9 , A->9 , C->0 [6,2,5,9,2,9,3,5,4,9] + [4,6,5] , A=[9,2,2,0,2,0] , C=0 , 9+5+0=14 , A->4 , C->1 [6,2,5,9,2,9,3,5,4] + [4,6] , A=[4,9,2,2,0,2,0] , C=1 , 4+6+1=11 , A->1 , C->1 [6,2,5,9,2,9,3,5] + [4] , A=[1,4,9,2,2,0,2,0] , C=1 , 5+4+1=10 , A->0 , C->1 [6,2,5,9,2,9,3] + [] , A=[0,1,4,9,2,2,0,2,0] , C=1 , 3+0+1=4 , A->4 , C->0 [6,2,5,9,2,9] + [] , A=[4,0,1,4,9,2,2,0,2,0] , C=0 , 9+0+0=9 , A->9 , C->0 [6,2,5,9,2] + [] , A=[9,4,0,1,4,9,2,2,0,2,0] , C=0 , 2+0+0=2 , A->2 , C->0 [6,2,5,9] + [] , A=[2,9,4,0,1,4,9,2,2,0,2,0] , C=0 , 9+0+0=9 , A->9 , C->0 [6,2,5] + [] , A=[9,2,9,4,0,1,4,9,2,2,0,2,0] , C=0 , 5+0+0=5 , A->5 , C->0 [6,2] + [] , A=[5,9,2,9,4,0,1,4,9,2,2,0,2,0] , C=0 , 2+0+0=2 , A->2 , C->0 [6] + [] , A=[2,5,9,2,9,4,0,1,4,9,2,2,0,2,0] , C=0 , 6+0+0=6 , A->6 , C->0 [] + [] , A=[6,2,5,9,2,9,4,0,1,4,9,2,2,0,2,0] C=0 , END </scratch> 6259294014922020
6259294014922020
9
Input: 3680+3803836358126887 Target:
Input: 3680+3803836358126887 Target: [3,6,8,0] + [3,8,0,3,8,3,6,3,5,8,1,2,6,8,8,7] , A=[] , C=0 , 0+7+0=7 , A->7 , C->0 [3,6,8] + [3,8,0,3,8,3,6,3,5,8,1,2,6,8,8] , A=[7] , C=0 , 8+8+0=16 , A->6 , C->1 [3,6] + [3,8,0,3,8,3,6,3,5,8,1,2,6,8] , A=[6,7] , C=1 , 6+8+1=15 , A->5 , C->1 [3] + [3,8,0,3,8,3,6,3,5,8,1,2,6] , A=[5,6,7] , C=1 , 3+6+1=10 , A->0 , C->1 [] + [3,8,0,3,8,3,6,3,5,8,1,2] , A=[0,5,6,7] , C=1 , 0+2+1=3 , A->3 , C->0 [] + [3,8,0,3,8,3,6,3,5,8,1] , A=[3,0,5,6,7] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [3,8,0,3,8,3,6,3,5,8] , A=[1,3,0,5,6,7] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [3,8,0,3,8,3,6,3,5] , A=[8,1,3,0,5,6,7] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [3,8,0,3,8,3,6,3] , A=[5,8,1,3,0,5,6,7] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [3,8,0,3,8,3,6] , A=[3,5,8,1,3,0,5,6,7] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [3,8,0,3,8,3] , A=[6,3,5,8,1,3,0,5,6,7] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [3,8,0,3,8] , A=[3,6,3,5,8,1,3,0,5,6,7] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [3,8,0,3] , A=[8,3,6,3,5,8,1,3,0,5,6,7] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [3,8,0] , A=[3,8,3,6,3,5,8,1,3,0,5,6,7] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [3,8] , A=[0,3,8,3,6,3,5,8,1,3,0,5,6,7] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [3] , A=[8,0,3,8,3,6,3,5,8,1,3,0,5,6,7] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [] , A=[3,8,0,3,8,3,6,3,5,8,1,3,0,5,6,7] C=0 , END </scratch> 3803836358130567
3803836358130567
4
Input: 8544297396853076+545 Target:
Input: 8544297396853076+545 Target: [8,5,4,4,2,9,7,3,9,6,8,5,3,0,7,6] + [5,4,5] , A=[] , C=0 , 6+5+0=11 , A->1 , C->1 [8,5,4,4,2,9,7,3,9,6,8,5,3,0,7] + [5,4] , A=[1] , C=1 , 7+4+1=12 , A->2 , C->1 [8,5,4,4,2,9,7,3,9,6,8,5,3,0] + [5] , A=[2,1] , C=1 , 0+5+1=6 , A->6 , C->0 [8,5,4,4,2,9,7,3,9,6,8,5,3] + [] , A=[6,2,1] , C=0 , 3+0+0=3 , A->3 , C->0 [8,5,4,4,2,9,7,3,9,6,8,5] + [] , A=[3,6,2,1] , C=0 , 5+0+0=5 , A->5 , C->0 [8,5,4,4,2,9,7,3,9,6,8] + [] , A=[5,3,6,2,1] , C=0 , 8+0+0=8 , A->8 , C->0 [8,5,4,4,2,9,7,3,9,6] + [] , A=[8,5,3,6,2,1] , C=0 , 6+0+0=6 , A->6 , C->0 [8,5,4,4,2,9,7,3,9] + [] , A=[6,8,5,3,6,2,1] , C=0 , 9+0+0=9 , A->9 , C->0 [8,5,4,4,2,9,7,3] + [] , A=[9,6,8,5,3,6,2,1] , C=0 , 3+0+0=3 , A->3 , C->0 [8,5,4,4,2,9,7] + [] , A=[3,9,6,8,5,3,6,2,1] , C=0 , 7+0+0=7 , A->7 , C->0 [8,5,4,4,2,9] + [] , A=[7,3,9,6,8,5,3,6,2,1] , C=0 , 9+0+0=9 , A->9 , C->0 [8,5,4,4,2] + [] , A=[9,7,3,9,6,8,5,3,6,2,1] , C=0 , 2+0+0=2 , A->2 , C->0 [8,5,4,4] + [] , A=[2,9,7,3,9,6,8,5,3,6,2,1] , C=0 , 4+0+0=4 , A->4 , C->0 [8,5,4] + [] , A=[4,2,9,7,3,9,6,8,5,3,6,2,1] , C=0 , 4+0+0=4 , A->4 , C->0 [8,5] + [] , A=[4,4,2,9,7,3,9,6,8,5,3,6,2,1] , C=0 , 5+0+0=5 , A->5 , C->0 [8] + [] , A=[5,4,4,2,9,7,3,9,6,8,5,3,6,2,1] , C=0 , 8+0+0=8 , A->8 , C->0 [] + [] , A=[8,5,4,4,2,9,7,3,9,6,8,5,3,6,2,1] C=0 , END </scratch> 8544297396853621
8544297396853621
3
Input: 4583347890835183+25591 Target:
Input: 4583347890835183+25591 Target: [4,5,8,3,3,4,7,8,9,0,8,3,5,1,8,3] + [2,5,5,9,1] , A=[] , C=0 , 3+1+0=4 , A->4 , C->0 [4,5,8,3,3,4,7,8,9,0,8,3,5,1,8] + [2,5,5,9] , A=[4] , C=0 , 8+9+0=17 , A->7 , C->1 [4,5,8,3,3,4,7,8,9,0,8,3,5,1] + [2,5,5] , A=[7,4] , C=1 , 1+5+1=7 , A->7 , C->0 [4,5,8,3,3,4,7,8,9,0,8,3,5] + [2,5] , A=[7,7,4] , C=0 , 5+5+0=10 , A->0 , C->1 [4,5,8,3,3,4,7,8,9,0,8,3] + [2] , A=[0,7,7,4] , C=1 , 3+2+1=6 , A->6 , C->0 [4,5,8,3,3,4,7,8,9,0,8] + [] , A=[6,0,7,7,4] , C=0 , 8+0+0=8 , A->8 , C->0 [4,5,8,3,3,4,7,8,9,0] + [] , A=[8,6,0,7,7,4] , C=0 , 0+0+0=0 , A->0 , C->0 [4,5,8,3,3,4,7,8,9] + [] , A=[0,8,6,0,7,7,4] , C=0 , 9+0+0=9 , A->9 , C->0 [4,5,8,3,3,4,7,8] + [] , A=[9,0,8,6,0,7,7,4] , C=0 , 8+0+0=8 , A->8 , C->0 [4,5,8,3,3,4,7] + [] , A=[8,9,0,8,6,0,7,7,4] , C=0 , 7+0+0=7 , A->7 , C->0 [4,5,8,3,3,4] + [] , A=[7,8,9,0,8,6,0,7,7,4] , C=0 , 4+0+0=4 , A->4 , C->0 [4,5,8,3,3] + [] , A=[4,7,8,9,0,8,6,0,7,7,4] , C=0 , 3+0+0=3 , A->3 , C->0 [4,5,8,3] + [] , A=[3,4,7,8,9,0,8,6,0,7,7,4] , C=0 , 3+0+0=3 , A->3 , C->0 [4,5,8] + [] , A=[3,3,4,7,8,9,0,8,6,0,7,7,4] , C=0 , 8+0+0=8 , A->8 , C->0 [4,5] + [] , A=[8,3,3,4,7,8,9,0,8,6,0,7,7,4] , C=0 , 5+0+0=5 , A->5 , C->0 [4] + [] , A=[5,8,3,3,4,7,8,9,0,8,6,0,7,7,4] , C=0 , 4+0+0=4 , A->4 , C->0 [] + [] , A=[4,5,8,3,3,4,7,8,9,0,8,6,0,7,7,4] C=0 , END </scratch> 4583347890860774
4583347890860774
5
Input: 7812206345150452+916075 Target:
Input: 7812206345150452+916075 Target: [7,8,1,2,2,0,6,3,4,5,1,5,0,4,5,2] + [9,1,6,0,7,5] , A=[] , C=0 , 2+5+0=7 , A->7 , C->0 [7,8,1,2,2,0,6,3,4,5,1,5,0,4,5] + [9,1,6,0,7] , A=[7] , C=0 , 5+7+0=12 , A->2 , C->1 [7,8,1,2,2,0,6,3,4,5,1,5,0,4] + [9,1,6,0] , A=[2,7] , C=1 , 4+0+1=5 , A->5 , C->0 [7,8,1,2,2,0,6,3,4,5,1,5,0] + [9,1,6] , A=[5,2,7] , C=0 , 0+6+0=6 , A->6 , C->0 [7,8,1,2,2,0,6,3,4,5,1,5] + [9,1] , A=[6,5,2,7] , C=0 , 5+1+0=6 , A->6 , C->0 [7,8,1,2,2,0,6,3,4,5,1] + [9] , A=[6,6,5,2,7] , C=0 , 1+9+0=10 , A->0 , C->1 [7,8,1,2,2,0,6,3,4,5] + [] , A=[0,6,6,5,2,7] , C=1 , 5+0+1=6 , A->6 , C->0 [7,8,1,2,2,0,6,3,4] + [] , A=[6,0,6,6,5,2,7] , C=0 , 4+0+0=4 , A->4 , C->0 [7,8,1,2,2,0,6,3] + [] , A=[4,6,0,6,6,5,2,7] , C=0 , 3+0+0=3 , A->3 , C->0 [7,8,1,2,2,0,6] + [] , A=[3,4,6,0,6,6,5,2,7] , C=0 , 6+0+0=6 , A->6 , C->0 [7,8,1,2,2,0] + [] , A=[6,3,4,6,0,6,6,5,2,7] , C=0 , 0+0+0=0 , A->0 , C->0 [7,8,1,2,2] + [] , A=[0,6,3,4,6,0,6,6,5,2,7] , C=0 , 2+0+0=2 , A->2 , C->0 [7,8,1,2] + [] , A=[2,0,6,3,4,6,0,6,6,5,2,7] , C=0 , 2+0+0=2 , A->2 , C->0 [7,8,1] + [] , A=[2,2,0,6,3,4,6,0,6,6,5,2,7] , C=0 , 1+0+0=1 , A->1 , C->0 [7,8] + [] , A=[1,2,2,0,6,3,4,6,0,6,6,5,2,7] , C=0 , 8+0+0=8 , A->8 , C->0 [7] + [] , A=[8,1,2,2,0,6,3,4,6,0,6,6,5,2,7] , C=0 , 7+0+0=7 , A->7 , C->0 [] + [] , A=[7,8,1,2,2,0,6,3,4,6,0,6,6,5,2,7] C=0 , END </scratch> 7812206346066527
7812206346066527
6
Input: 153048671558464+8416351244340567 Target:
Input: 153048671558464+8416351244340567 Target: [1,5,3,0,4,8,6,7,1,5,5,8,4,6,4] + [8,4,1,6,3,5,1,2,4,4,3,4,0,5,6,7] , A=[] , C=0 , 4+7+0=11 , A->1 , C->1 [1,5,3,0,4,8,6,7,1,5,5,8,4,6] + [8,4,1,6,3,5,1,2,4,4,3,4,0,5,6] , A=[1] , C=1 , 6+6+1=13 , A->3 , C->1 [1,5,3,0,4,8,6,7,1,5,5,8,4] + [8,4,1,6,3,5,1,2,4,4,3,4,0,5] , A=[3,1] , C=1 , 4+5+1=10 , A->0 , C->1 [1,5,3,0,4,8,6,7,1,5,5,8] + [8,4,1,6,3,5,1,2,4,4,3,4,0] , A=[0,3,1] , C=1 , 8+0+1=9 , A->9 , C->0 [1,5,3,0,4,8,6,7,1,5,5] + [8,4,1,6,3,5,1,2,4,4,3,4] , A=[9,0,3,1] , C=0 , 5+4+0=9 , A->9 , C->0 [1,5,3,0,4,8,6,7,1,5] + [8,4,1,6,3,5,1,2,4,4,3] , A=[9,9,0,3,1] , C=0 , 5+3+0=8 , A->8 , C->0 [1,5,3,0,4,8,6,7,1] + [8,4,1,6,3,5,1,2,4,4] , A=[8,9,9,0,3,1] , C=0 , 1+4+0=5 , A->5 , C->0 [1,5,3,0,4,8,6,7] + [8,4,1,6,3,5,1,2,4] , A=[5,8,9,9,0,3,1] , C=0 , 7+4+0=11 , A->1 , C->1 [1,5,3,0,4,8,6] + [8,4,1,6,3,5,1,2] , A=[1,5,8,9,9,0,3,1] , C=1 , 6+2+1=9 , A->9 , C->0 [1,5,3,0,4,8] + [8,4,1,6,3,5,1] , A=[9,1,5,8,9,9,0,3,1] , C=0 , 8+1+0=9 , A->9 , C->0 [1,5,3,0,4] + [8,4,1,6,3,5] , A=[9,9,1,5,8,9,9,0,3,1] , C=0 , 4+5+0=9 , A->9 , C->0 [1,5,3,0] + [8,4,1,6,3] , A=[9,9,9,1,5,8,9,9,0,3,1] , C=0 , 0+3+0=3 , A->3 , C->0 [1,5,3] + [8,4,1,6] , A=[3,9,9,9,1,5,8,9,9,0,3,1] , C=0 , 3+6+0=9 , A->9 , C->0 [1,5] + [8,4,1] , A=[9,3,9,9,9,1,5,8,9,9,0,3,1] , C=0 , 5+1+0=6 , A->6 , C->0 [1] + [8,4] , A=[6,9,3,9,9,9,1,5,8,9,9,0,3,1] , C=0 , 1+4+0=5 , A->5 , C->0 [] + [8] , A=[5,6,9,3,9,9,9,1,5,8,9,9,0,3,1] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [] , A=[8,5,6,9,3,9,9,9,1,5,8,9,9,0,3,1] C=0 , END </scratch> 8569399915899031
8569399915899031
15
Input: 898143+2008214971156925 Target:
Input: 898143+2008214971156925 Target: [8,9,8,1,4,3] + [2,0,0,8,2,1,4,9,7,1,1,5,6,9,2,5] , A=[] , C=0 , 3+5+0=8 , A->8 , C->0 [8,9,8,1,4] + [2,0,0,8,2,1,4,9,7,1,1,5,6,9,2] , A=[8] , C=0 , 4+2+0=6 , A->6 , C->0 [8,9,8,1] + [2,0,0,8,2,1,4,9,7,1,1,5,6,9] , A=[6,8] , C=0 , 1+9+0=10 , A->0 , C->1 [8,9,8] + [2,0,0,8,2,1,4,9,7,1,1,5,6] , A=[0,6,8] , C=1 , 8+6+1=15 , A->5 , C->1 [8,9] + [2,0,0,8,2,1,4,9,7,1,1,5] , A=[5,0,6,8] , C=1 , 9+5+1=15 , A->5 , C->1 [8] + [2,0,0,8,2,1,4,9,7,1,1] , A=[5,5,0,6,8] , C=1 , 8+1+1=10 , A->0 , C->1 [] + [2,0,0,8,2,1,4,9,7,1] , A=[0,5,5,0,6,8] , C=1 , 0+1+1=2 , A->2 , C->0 [] + [2,0,0,8,2,1,4,9,7] , A=[2,0,5,5,0,6,8] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [2,0,0,8,2,1,4,9] , A=[7,2,0,5,5,0,6,8] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [2,0,0,8,2,1,4] , A=[9,7,2,0,5,5,0,6,8] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [2,0,0,8,2,1] , A=[4,9,7,2,0,5,5,0,6,8] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [2,0,0,8,2] , A=[1,4,9,7,2,0,5,5,0,6,8] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [2,0,0,8] , A=[2,1,4,9,7,2,0,5,5,0,6,8] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [2,0,0] , A=[8,2,1,4,9,7,2,0,5,5,0,6,8] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [2,0] , A=[0,8,2,1,4,9,7,2,0,5,5,0,6,8] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [2] , A=[0,0,8,2,1,4,9,7,2,0,5,5,0,6,8] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [] , A=[2,0,0,8,2,1,4,9,7,2,0,5,5,0,6,8] C=0 , END </scratch> 2008214972055068
2008214972055068
6
Input: 52760896104+2420565120622915 Target:
Input: 52760896104+2420565120622915 Target: [5,2,7,6,0,8,9,6,1,0,4] + [2,4,2,0,5,6,5,1,2,0,6,2,2,9,1,5] , A=[] , C=0 , 4+5+0=9 , A->9 , C->0 [5,2,7,6,0,8,9,6,1,0] + [2,4,2,0,5,6,5,1,2,0,6,2,2,9,1] , A=[9] , C=0 , 0+1+0=1 , A->1 , C->0 [5,2,7,6,0,8,9,6,1] + [2,4,2,0,5,6,5,1,2,0,6,2,2,9] , A=[1,9] , C=0 , 1+9+0=10 , A->0 , C->1 [5,2,7,6,0,8,9,6] + [2,4,2,0,5,6,5,1,2,0,6,2,2] , A=[0,1,9] , C=1 , 6+2+1=9 , A->9 , C->0 [5,2,7,6,0,8,9] + [2,4,2,0,5,6,5,1,2,0,6,2] , A=[9,0,1,9] , C=0 , 9+2+0=11 , A->1 , C->1 [5,2,7,6,0,8] + [2,4,2,0,5,6,5,1,2,0,6] , A=[1,9,0,1,9] , C=1 , 8+6+1=15 , A->5 , C->1 [5,2,7,6,0] + [2,4,2,0,5,6,5,1,2,0] , A=[5,1,9,0,1,9] , C=1 , 0+0+1=1 , A->1 , C->0 [5,2,7,6] + [2,4,2,0,5,6,5,1,2] , A=[1,5,1,9,0,1,9] , C=0 , 6+2+0=8 , A->8 , C->0 [5,2,7] + [2,4,2,0,5,6,5,1] , A=[8,1,5,1,9,0,1,9] , C=0 , 7+1+0=8 , A->8 , C->0 [5,2] + [2,4,2,0,5,6,5] , A=[8,8,1,5,1,9,0,1,9] , C=0 , 2+5+0=7 , A->7 , C->0 [5] + [2,4,2,0,5,6] , A=[7,8,8,1,5,1,9,0,1,9] , C=0 , 5+6+0=11 , A->1 , C->1 [] + [2,4,2,0,5] , A=[1,7,8,8,1,5,1,9,0,1,9] , C=1 , 0+5+1=6 , A->6 , C->0 [] + [2,4,2,0] , A=[6,1,7,8,8,1,5,1,9,0,1,9] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [2,4,2] , A=[0,6,1,7,8,8,1,5,1,9,0,1,9] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [2,4] , A=[2,0,6,1,7,8,8,1,5,1,9,0,1,9] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [2] , A=[4,2,0,6,1,7,8,8,1,5,1,9,0,1,9] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [] , A=[2,4,2,0,6,1,7,8,8,1,5,1,9,0,1,9] C=0 , END </scratch> 2420617881519019
2420617881519019
11
Input: 35302067+6220735720401708 Target:
Input: 35302067+6220735720401708 Target: [3,5,3,0,2,0,6,7] + [6,2,2,0,7,3,5,7,2,0,4,0,1,7,0,8] , A=[] , C=0 , 7+8+0=15 , A->5 , C->1 [3,5,3,0,2,0,6] + [6,2,2,0,7,3,5,7,2,0,4,0,1,7,0] , A=[5] , C=1 , 6+0+1=7 , A->7 , C->0 [3,5,3,0,2,0] + [6,2,2,0,7,3,5,7,2,0,4,0,1,7] , A=[7,5] , C=0 , 0+7+0=7 , A->7 , C->0 [3,5,3,0,2] + [6,2,2,0,7,3,5,7,2,0,4,0,1] , A=[7,7,5] , C=0 , 2+1+0=3 , A->3 , C->0 [3,5,3,0] + [6,2,2,0,7,3,5,7,2,0,4,0] , A=[3,7,7,5] , C=0 , 0+0+0=0 , A->0 , C->0 [3,5,3] + [6,2,2,0,7,3,5,7,2,0,4] , A=[0,3,7,7,5] , C=0 , 3+4+0=7 , A->7 , C->0 [3,5] + [6,2,2,0,7,3,5,7,2,0] , A=[7,0,3,7,7,5] , C=0 , 5+0+0=5 , A->5 , C->0 [3] + [6,2,2,0,7,3,5,7,2] , A=[5,7,0,3,7,7,5] , C=0 , 3+2+0=5 , A->5 , C->0 [] + [6,2,2,0,7,3,5,7] , A=[5,5,7,0,3,7,7,5] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [6,2,2,0,7,3,5] , A=[7,5,5,7,0,3,7,7,5] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [6,2,2,0,7,3] , A=[5,7,5,5,7,0,3,7,7,5] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [6,2,2,0,7] , A=[3,5,7,5,5,7,0,3,7,7,5] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [6,2,2,0] , A=[7,3,5,7,5,5,7,0,3,7,7,5] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [6,2,2] , A=[0,7,3,5,7,5,5,7,0,3,7,7,5] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [6,2] , A=[2,0,7,3,5,7,5,5,7,0,3,7,7,5] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [6] , A=[2,2,0,7,3,5,7,5,5,7,0,3,7,7,5] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [] , A=[6,2,2,0,7,3,5,7,5,5,7,0,3,7,7,5] C=0 , END </scratch> 6220735755703775
6220735755703775
8
Input: 52+7941645896154649 Target:
Input: 52+7941645896154649 Target: [5,2] + [7,9,4,1,6,4,5,8,9,6,1,5,4,6,4,9] , A=[] , C=0 , 2+9+0=11 , A->1 , C->1 [5] + [7,9,4,1,6,4,5,8,9,6,1,5,4,6,4] , A=[1] , C=1 , 5+4+1=10 , A->0 , C->1 [] + [7,9,4,1,6,4,5,8,9,6,1,5,4,6] , A=[0,1] , C=1 , 0+6+1=7 , A->7 , C->0 [] + [7,9,4,1,6,4,5,8,9,6,1,5,4] , A=[7,0,1] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [7,9,4,1,6,4,5,8,9,6,1,5] , A=[4,7,0,1] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [7,9,4,1,6,4,5,8,9,6,1] , A=[5,4,7,0,1] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [7,9,4,1,6,4,5,8,9,6] , A=[1,5,4,7,0,1] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [7,9,4,1,6,4,5,8,9] , A=[6,1,5,4,7,0,1] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [7,9,4,1,6,4,5,8] , A=[9,6,1,5,4,7,0,1] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [7,9,4,1,6,4,5] , A=[8,9,6,1,5,4,7,0,1] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [7,9,4,1,6,4] , A=[5,8,9,6,1,5,4,7,0,1] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [7,9,4,1,6] , A=[4,5,8,9,6,1,5,4,7,0,1] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [7,9,4,1] , A=[6,4,5,8,9,6,1,5,4,7,0,1] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [7,9,4] , A=[1,6,4,5,8,9,6,1,5,4,7,0,1] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [7,9] , A=[4,1,6,4,5,8,9,6,1,5,4,7,0,1] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [7] , A=[9,4,1,6,4,5,8,9,6,1,5,4,7,0,1] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [] , A=[7,9,4,1,6,4,5,8,9,6,1,5,4,7,0,1] C=0 , END </scratch> 7941645896154701
7941645896154701
2
Input: 1250468832279586+5483836128231774 Target:
Input: 1250468832279586+5483836128231774 Target: [1,2,5,0,4,6,8,8,3,2,2,7,9,5,8,6] + [5,4,8,3,8,3,6,1,2,8,2,3,1,7,7,4] , A=[] , C=0 , 6+4+0=10 , A->0 , C->1 [1,2,5,0,4,6,8,8,3,2,2,7,9,5,8] + [5,4,8,3,8,3,6,1,2,8,2,3,1,7,7] , A=[0] , C=1 , 8+7+1=16 , A->6 , C->1 [1,2,5,0,4,6,8,8,3,2,2,7,9,5] + [5,4,8,3,8,3,6,1,2,8,2,3,1,7] , A=[6,0] , C=1 , 5+7+1=13 , A->3 , C->1 [1,2,5,0,4,6,8,8,3,2,2,7,9] + [5,4,8,3,8,3,6,1,2,8,2,3,1] , A=[3,6,0] , C=1 , 9+1+1=11 , A->1 , C->1 [1,2,5,0,4,6,8,8,3,2,2,7] + [5,4,8,3,8,3,6,1,2,8,2,3] , A=[1,3,6,0] , C=1 , 7+3+1=11 , A->1 , C->1 [1,2,5,0,4,6,8,8,3,2,2] + [5,4,8,3,8,3,6,1,2,8,2] , A=[1,1,3,6,0] , C=1 , 2+2+1=5 , A->5 , C->0 [1,2,5,0,4,6,8,8,3,2] + [5,4,8,3,8,3,6,1,2,8] , A=[5,1,1,3,6,0] , C=0 , 2+8+0=10 , A->0 , C->1 [1,2,5,0,4,6,8,8,3] + [5,4,8,3,8,3,6,1,2] , A=[0,5,1,1,3,6,0] , C=1 , 3+2+1=6 , A->6 , C->0 [1,2,5,0,4,6,8,8] + [5,4,8,3,8,3,6,1] , A=[6,0,5,1,1,3,6,0] , C=0 , 8+1+0=9 , A->9 , C->0 [1,2,5,0,4,6,8] + [5,4,8,3,8,3,6] , A=[9,6,0,5,1,1,3,6,0] , C=0 , 8+6+0=14 , A->4 , C->1 [1,2,5,0,4,6] + [5,4,8,3,8,3] , A=[4,9,6,0,5,1,1,3,6,0] , C=1 , 6+3+1=10 , A->0 , C->1 [1,2,5,0,4] + [5,4,8,3,8] , A=[0,4,9,6,0,5,1,1,3,6,0] , C=1 , 4+8+1=13 , A->3 , C->1 [1,2,5,0] + [5,4,8,3] , A=[3,0,4,9,6,0,5,1,1,3,6,0] , C=1 , 0+3+1=4 , A->4 , C->0 [1,2,5] + [5,4,8] , A=[4,3,0,4,9,6,0,5,1,1,3,6,0] , C=0 , 5+8+0=13 , A->3 , C->1 [1,2] + [5,4] , A=[3,4,3,0,4,9,6,0,5,1,1,3,6,0] , C=1 , 2+4+1=7 , A->7 , C->0 [1] + [5] , A=[7,3,4,3,0,4,9,6,0,5,1,1,3,6,0] , C=0 , 1+5+0=6 , A->6 , C->0 [] + [] , A=[6,7,3,4,3,0,4,9,6,0,5,1,1,3,6,0] C=0 , END </scratch> 6734304960511360
6734304960511360
16
Input: 8043296825079651+1381838812 Target:
Input: 8043296825079651+1381838812 Target: [8,0,4,3,2,9,6,8,2,5,0,7,9,6,5,1] + [1,3,8,1,8,3,8,8,1,2] , A=[] , C=0 , 1+2+0=3 , A->3 , C->0 [8,0,4,3,2,9,6,8,2,5,0,7,9,6,5] + [1,3,8,1,8,3,8,8,1] , A=[3] , C=0 , 5+1+0=6 , A->6 , C->0 [8,0,4,3,2,9,6,8,2,5,0,7,9,6] + [1,3,8,1,8,3,8,8] , A=[6,3] , C=0 , 6+8+0=14 , A->4 , C->1 [8,0,4,3,2,9,6,8,2,5,0,7,9] + [1,3,8,1,8,3,8] , A=[4,6,3] , C=1 , 9+8+1=18 , A->8 , C->1 [8,0,4,3,2,9,6,8,2,5,0,7] + [1,3,8,1,8,3] , A=[8,4,6,3] , C=1 , 7+3+1=11 , A->1 , C->1 [8,0,4,3,2,9,6,8,2,5,0] + [1,3,8,1,8] , A=[1,8,4,6,3] , C=1 , 0+8+1=9 , A->9 , C->0 [8,0,4,3,2,9,6,8,2,5] + [1,3,8,1] , A=[9,1,8,4,6,3] , C=0 , 5+1+0=6 , A->6 , C->0 [8,0,4,3,2,9,6,8,2] + [1,3,8] , A=[6,9,1,8,4,6,3] , C=0 , 2+8+0=10 , A->0 , C->1 [8,0,4,3,2,9,6,8] + [1,3] , A=[0,6,9,1,8,4,6,3] , C=1 , 8+3+1=12 , A->2 , C->1 [8,0,4,3,2,9,6] + [1] , A=[2,0,6,9,1,8,4,6,3] , C=1 , 6+1+1=8 , A->8 , C->0 [8,0,4,3,2,9] + [] , A=[8,2,0,6,9,1,8,4,6,3] , C=0 , 9+0+0=9 , A->9 , C->0 [8,0,4,3,2] + [] , A=[9,8,2,0,6,9,1,8,4,6,3] , C=0 , 2+0+0=2 , A->2 , C->0 [8,0,4,3] + [] , A=[2,9,8,2,0,6,9,1,8,4,6,3] , C=0 , 3+0+0=3 , A->3 , C->0 [8,0,4] + [] , A=[3,2,9,8,2,0,6,9,1,8,4,6,3] , C=0 , 4+0+0=4 , A->4 , C->0 [8,0] + [] , A=[4,3,2,9,8,2,0,6,9,1,8,4,6,3] , C=0 , 0+0+0=0 , A->0 , C->0 [8] + [] , A=[0,4,3,2,9,8,2,0,6,9,1,8,4,6,3] , C=0 , 8+0+0=8 , A->8 , C->0 [] + [] , A=[8,0,4,3,2,9,8,2,0,6,9,1,8,4,6,3] C=0 , END </scratch> 8043298206918463
8043298206918463
10
Input: 3201422+3857179188018683 Target:
Input: 3201422+3857179188018683 Target: [3,2,0,1,4,2,2] + [3,8,5,7,1,7,9,1,8,8,0,1,8,6,8,3] , A=[] , C=0 , 2+3+0=5 , A->5 , C->0 [3,2,0,1,4,2] + [3,8,5,7,1,7,9,1,8,8,0,1,8,6,8] , A=[5] , C=0 , 2+8+0=10 , A->0 , C->1 [3,2,0,1,4] + [3,8,5,7,1,7,9,1,8,8,0,1,8,6] , A=[0,5] , C=1 , 4+6+1=11 , A->1 , C->1 [3,2,0,1] + [3,8,5,7,1,7,9,1,8,8,0,1,8] , A=[1,0,5] , C=1 , 1+8+1=10 , A->0 , C->1 [3,2,0] + [3,8,5,7,1,7,9,1,8,8,0,1] , A=[0,1,0,5] , C=1 , 0+1+1=2 , A->2 , C->0 [3,2] + [3,8,5,7,1,7,9,1,8,8,0] , A=[2,0,1,0,5] , C=0 , 2+0+0=2 , A->2 , C->0 [3] + [3,8,5,7,1,7,9,1,8,8] , A=[2,2,0,1,0,5] , C=0 , 3+8+0=11 , A->1 , C->1 [] + [3,8,5,7,1,7,9,1,8] , A=[1,2,2,0,1,0,5] , C=1 , 0+8+1=9 , A->9 , C->0 [] + [3,8,5,7,1,7,9,1] , A=[9,1,2,2,0,1,0,5] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [3,8,5,7,1,7,9] , A=[1,9,1,2,2,0,1,0,5] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [3,8,5,7,1,7] , A=[9,1,9,1,2,2,0,1,0,5] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [3,8,5,7,1] , A=[7,9,1,9,1,2,2,0,1,0,5] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [3,8,5,7] , A=[1,7,9,1,9,1,2,2,0,1,0,5] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [3,8,5] , A=[7,1,7,9,1,9,1,2,2,0,1,0,5] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [3,8] , A=[5,7,1,7,9,1,9,1,2,2,0,1,0,5] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [3] , A=[8,5,7,1,7,9,1,9,1,2,2,0,1,0,5] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [] , A=[3,8,5,7,1,7,9,1,9,1,2,2,0,1,0,5] C=0 , END </scratch> 3857179191220105
3857179191220105
7
Input: 264075+9844352197434296 Target:
Input: 264075+9844352197434296 Target: [2,6,4,0,7,5] + [9,8,4,4,3,5,2,1,9,7,4,3,4,2,9,6] , A=[] , C=0 , 5+6+0=11 , A->1 , C->1 [2,6,4,0,7] + [9,8,4,4,3,5,2,1,9,7,4,3,4,2,9] , A=[1] , C=1 , 7+9+1=17 , A->7 , C->1 [2,6,4,0] + [9,8,4,4,3,5,2,1,9,7,4,3,4,2] , A=[7,1] , C=1 , 0+2+1=3 , A->3 , C->0 [2,6,4] + [9,8,4,4,3,5,2,1,9,7,4,3,4] , A=[3,7,1] , C=0 , 4+4+0=8 , A->8 , C->0 [2,6] + [9,8,4,4,3,5,2,1,9,7,4,3] , A=[8,3,7,1] , C=0 , 6+3+0=9 , A->9 , C->0 [2] + [9,8,4,4,3,5,2,1,9,7,4] , A=[9,8,3,7,1] , C=0 , 2+4+0=6 , A->6 , C->0 [] + [9,8,4,4,3,5,2,1,9,7] , A=[6,9,8,3,7,1] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [9,8,4,4,3,5,2,1,9] , A=[7,6,9,8,3,7,1] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [9,8,4,4,3,5,2,1] , A=[9,7,6,9,8,3,7,1] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [9,8,4,4,3,5,2] , A=[1,9,7,6,9,8,3,7,1] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [9,8,4,4,3,5] , A=[2,1,9,7,6,9,8,3,7,1] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [9,8,4,4,3] , A=[5,2,1,9,7,6,9,8,3,7,1] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [9,8,4,4] , A=[3,5,2,1,9,7,6,9,8,3,7,1] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [9,8,4] , A=[4,3,5,2,1,9,7,6,9,8,3,7,1] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [9,8] , A=[4,4,3,5,2,1,9,7,6,9,8,3,7,1] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [9] , A=[8,4,4,3,5,2,1,9,7,6,9,8,3,7,1] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [] , A=[9,8,4,4,3,5,2,1,9,7,6,9,8,3,7,1] C=0 , END </scratch> 9844352197698371
9844352197698371
6
Input: 6080145239502803+5273874984 Target:
Input: 6080145239502803+5273874984 Target: [6,0,8,0,1,4,5,2,3,9,5,0,2,8,0,3] + [5,2,7,3,8,7,4,9,8,4] , A=[] , C=0 , 3+4+0=7 , A->7 , C->0 [6,0,8,0,1,4,5,2,3,9,5,0,2,8,0] + [5,2,7,3,8,7,4,9,8] , A=[7] , C=0 , 0+8+0=8 , A->8 , C->0 [6,0,8,0,1,4,5,2,3,9,5,0,2,8] + [5,2,7,3,8,7,4,9] , A=[8,7] , C=0 , 8+9+0=17 , A->7 , C->1 [6,0,8,0,1,4,5,2,3,9,5,0,2] + [5,2,7,3,8,7,4] , A=[7,8,7] , C=1 , 2+4+1=7 , A->7 , C->0 [6,0,8,0,1,4,5,2,3,9,5,0] + [5,2,7,3,8,7] , A=[7,7,8,7] , C=0 , 0+7+0=7 , A->7 , C->0 [6,0,8,0,1,4,5,2,3,9,5] + [5,2,7,3,8] , A=[7,7,7,8,7] , C=0 , 5+8+0=13 , A->3 , C->1 [6,0,8,0,1,4,5,2,3,9] + [5,2,7,3] , A=[3,7,7,7,8,7] , C=1 , 9+3+1=13 , A->3 , C->1 [6,0,8,0,1,4,5,2,3] + [5,2,7] , A=[3,3,7,7,7,8,7] , C=1 , 3+7+1=11 , A->1 , C->1 [6,0,8,0,1,4,5,2] + [5,2] , A=[1,3,3,7,7,7,8,7] , C=1 , 2+2+1=5 , A->5 , C->0 [6,0,8,0,1,4,5] + [5] , A=[5,1,3,3,7,7,7,8,7] , C=0 , 5+5+0=10 , A->0 , C->1 [6,0,8,0,1,4] + [] , A=[0,5,1,3,3,7,7,7,8,7] , C=1 , 4+0+1=5 , A->5 , C->0 [6,0,8,0,1] + [] , A=[5,0,5,1,3,3,7,7,7,8,7] , C=0 , 1+0+0=1 , A->1 , C->0 [6,0,8,0] + [] , A=[1,5,0,5,1,3,3,7,7,7,8,7] , C=0 , 0+0+0=0 , A->0 , C->0 [6,0,8] + [] , A=[0,1,5,0,5,1,3,3,7,7,7,8,7] , C=0 , 8+0+0=8 , A->8 , C->0 [6,0] + [] , A=[8,0,1,5,0,5,1,3,3,7,7,7,8,7] , C=0 , 0+0+0=0 , A->0 , C->0 [6] + [] , A=[0,8,0,1,5,0,5,1,3,3,7,7,7,8,7] , C=0 , 6+0+0=6 , A->6 , C->0 [] + [] , A=[6,0,8,0,1,5,0,5,1,3,3,7,7,7,8,7] C=0 , END </scratch> 6080150513377787
6080150513377787
10
Input: 6708100146706882+437373104368506 Target:
Input: 6708100146706882+437373104368506 Target: [6,7,0,8,1,0,0,1,4,6,7,0,6,8,8,2] + [4,3,7,3,7,3,1,0,4,3,6,8,5,0,6] , A=[] , C=0 , 2+6+0=8 , A->8 , C->0 [6,7,0,8,1,0,0,1,4,6,7,0,6,8,8] + [4,3,7,3,7,3,1,0,4,3,6,8,5,0] , A=[8] , C=0 , 8+0+0=8 , A->8 , C->0 [6,7,0,8,1,0,0,1,4,6,7,0,6,8] + [4,3,7,3,7,3,1,0,4,3,6,8,5] , A=[8,8] , C=0 , 8+5+0=13 , A->3 , C->1 [6,7,0,8,1,0,0,1,4,6,7,0,6] + [4,3,7,3,7,3,1,0,4,3,6,8] , A=[3,8,8] , C=1 , 6+8+1=15 , A->5 , C->1 [6,7,0,8,1,0,0,1,4,6,7,0] + [4,3,7,3,7,3,1,0,4,3,6] , A=[5,3,8,8] , C=1 , 0+6+1=7 , A->7 , C->0 [6,7,0,8,1,0,0,1,4,6,7] + [4,3,7,3,7,3,1,0,4,3] , A=[7,5,3,8,8] , C=0 , 7+3+0=10 , A->0 , C->1 [6,7,0,8,1,0,0,1,4,6] + [4,3,7,3,7,3,1,0,4] , A=[0,7,5,3,8,8] , C=1 , 6+4+1=11 , A->1 , C->1 [6,7,0,8,1,0,0,1,4] + [4,3,7,3,7,3,1,0] , A=[1,0,7,5,3,8,8] , C=1 , 4+0+1=5 , A->5 , C->0 [6,7,0,8,1,0,0,1] + [4,3,7,3,7,3,1] , A=[5,1,0,7,5,3,8,8] , C=0 , 1+1+0=2 , A->2 , C->0 [6,7,0,8,1,0,0] + [4,3,7,3,7,3] , A=[2,5,1,0,7,5,3,8,8] , C=0 , 0+3+0=3 , A->3 , C->0 [6,7,0,8,1,0] + [4,3,7,3,7] , A=[3,2,5,1,0,7,5,3,8,8] , C=0 , 0+7+0=7 , A->7 , C->0 [6,7,0,8,1] + [4,3,7,3] , A=[7,3,2,5,1,0,7,5,3,8,8] , C=0 , 1+3+0=4 , A->4 , C->0 [6,7,0,8] + [4,3,7] , A=[4,7,3,2,5,1,0,7,5,3,8,8] , C=0 , 8+7+0=15 , A->5 , C->1 [6,7,0] + [4,3] , A=[5,4,7,3,2,5,1,0,7,5,3,8,8] , C=1 , 0+3+1=4 , A->4 , C->0 [6,7] + [4] , A=[4,5,4,7,3,2,5,1,0,7,5,3,8,8] , C=0 , 7+4+0=11 , A->1 , C->1 [6] + [] , A=[1,4,5,4,7,3,2,5,1,0,7,5,3,8,8] , C=1 , 6+0+1=7 , A->7 , C->0 [] + [] , A=[7,1,4,5,4,7,3,2,5,1,0,7,5,3,8,8] C=0 , END </scratch> 7145473251075388
7145473251075388
15
Input: 2351204944980068+5183191 Target:
Input: 2351204944980068+5183191 Target: [2,3,5,1,2,0,4,9,4,4,9,8,0,0,6,8] + [5,1,8,3,1,9,1] , A=[] , C=0 , 8+1+0=9 , A->9 , C->0 [2,3,5,1,2,0,4,9,4,4,9,8,0,0,6] + [5,1,8,3,1,9] , A=[9] , C=0 , 6+9+0=15 , A->5 , C->1 [2,3,5,1,2,0,4,9,4,4,9,8,0,0] + [5,1,8,3,1] , A=[5,9] , C=1 , 0+1+1=2 , A->2 , C->0 [2,3,5,1,2,0,4,9,4,4,9,8,0] + [5,1,8,3] , A=[2,5,9] , C=0 , 0+3+0=3 , A->3 , C->0 [2,3,5,1,2,0,4,9,4,4,9,8] + [5,1,8] , A=[3,2,5,9] , C=0 , 8+8+0=16 , A->6 , C->1 [2,3,5,1,2,0,4,9,4,4,9] + [5,1] , A=[6,3,2,5,9] , C=1 , 9+1+1=11 , A->1 , C->1 [2,3,5,1,2,0,4,9,4,4] + [5] , A=[1,6,3,2,5,9] , C=1 , 4+5+1=10 , A->0 , C->1 [2,3,5,1,2,0,4,9,4] + [] , A=[0,1,6,3,2,5,9] , C=1 , 4+0+1=5 , A->5 , C->0 [2,3,5,1,2,0,4,9] + [] , A=[5,0,1,6,3,2,5,9] , C=0 , 9+0+0=9 , A->9 , C->0 [2,3,5,1,2,0,4] + [] , A=[9,5,0,1,6,3,2,5,9] , C=0 , 4+0+0=4 , A->4 , C->0 [2,3,5,1,2,0] + [] , A=[4,9,5,0,1,6,3,2,5,9] , C=0 , 0+0+0=0 , A->0 , C->0 [2,3,5,1,2] + [] , A=[0,4,9,5,0,1,6,3,2,5,9] , C=0 , 2+0+0=2 , A->2 , C->0 [2,3,5,1] + [] , A=[2,0,4,9,5,0,1,6,3,2,5,9] , C=0 , 1+0+0=1 , A->1 , C->0 [2,3,5] + [] , A=[1,2,0,4,9,5,0,1,6,3,2,5,9] , C=0 , 5+0+0=5 , A->5 , C->0 [2,3] + [] , A=[5,1,2,0,4,9,5,0,1,6,3,2,5,9] , C=0 , 3+0+0=3 , A->3 , C->0 [2] + [] , A=[3,5,1,2,0,4,9,5,0,1,6,3,2,5,9] , C=0 , 2+0+0=2 , A->2 , C->0 [] + [] , A=[2,3,5,1,2,0,4,9,5,0,1,6,3,2,5,9] C=0 , END </scratch> 2351204950163259
2351204950163259
7
Input: 8538713501335832+389 Target:
Input: 8538713501335832+389 Target: [8,5,3,8,7,1,3,5,0,1,3,3,5,8,3,2] + [3,8,9] , A=[] , C=0 , 2+9+0=11 , A->1 , C->1 [8,5,3,8,7,1,3,5,0,1,3,3,5,8,3] + [3,8] , A=[1] , C=1 , 3+8+1=12 , A->2 , C->1 [8,5,3,8,7,1,3,5,0,1,3,3,5,8] + [3] , A=[2,1] , C=1 , 8+3+1=12 , A->2 , C->1 [8,5,3,8,7,1,3,5,0,1,3,3,5] + [] , A=[2,2,1] , C=1 , 5+0+1=6 , A->6 , C->0 [8,5,3,8,7,1,3,5,0,1,3,3] + [] , A=[6,2,2,1] , C=0 , 3+0+0=3 , A->3 , C->0 [8,5,3,8,7,1,3,5,0,1,3] + [] , A=[3,6,2,2,1] , C=0 , 3+0+0=3 , A->3 , C->0 [8,5,3,8,7,1,3,5,0,1] + [] , A=[3,3,6,2,2,1] , C=0 , 1+0+0=1 , A->1 , C->0 [8,5,3,8,7,1,3,5,0] + [] , A=[1,3,3,6,2,2,1] , C=0 , 0+0+0=0 , A->0 , C->0 [8,5,3,8,7,1,3,5] + [] , A=[0,1,3,3,6,2,2,1] , C=0 , 5+0+0=5 , A->5 , C->0 [8,5,3,8,7,1,3] + [] , A=[5,0,1,3,3,6,2,2,1] , C=0 , 3+0+0=3 , A->3 , C->0 [8,5,3,8,7,1] + [] , A=[3,5,0,1,3,3,6,2,2,1] , C=0 , 1+0+0=1 , A->1 , C->0 [8,5,3,8,7] + [] , A=[1,3,5,0,1,3,3,6,2,2,1] , C=0 , 7+0+0=7 , A->7 , C->0 [8,5,3,8] + [] , A=[7,1,3,5,0,1,3,3,6,2,2,1] , C=0 , 8+0+0=8 , A->8 , C->0 [8,5,3] + [] , A=[8,7,1,3,5,0,1,3,3,6,2,2,1] , C=0 , 3+0+0=3 , A->3 , C->0 [8,5] + [] , A=[3,8,7,1,3,5,0,1,3,3,6,2,2,1] , C=0 , 5+0+0=5 , A->5 , C->0 [8] + [] , A=[5,3,8,7,1,3,5,0,1,3,3,6,2,2,1] , C=0 , 8+0+0=8 , A->8 , C->0 [] + [] , A=[8,5,3,8,7,1,3,5,0,1,3,3,6,2,2,1] C=0 , END </scratch> 8538713501336221
8538713501336221
3
Input: 45771+5134099179667198 Target:
Input: 45771+5134099179667198 Target: [4,5,7,7,1] + [5,1,3,4,0,9,9,1,7,9,6,6,7,1,9,8] , A=[] , C=0 , 1+8+0=9 , A->9 , C->0 [4,5,7,7] + [5,1,3,4,0,9,9,1,7,9,6,6,7,1,9] , A=[9] , C=0 , 7+9+0=16 , A->6 , C->1 [4,5,7] + [5,1,3,4,0,9,9,1,7,9,6,6,7,1] , A=[6,9] , C=1 , 7+1+1=9 , A->9 , C->0 [4,5] + [5,1,3,4,0,9,9,1,7,9,6,6,7] , A=[9,6,9] , C=0 , 5+7+0=12 , A->2 , C->1 [4] + [5,1,3,4,0,9,9,1,7,9,6,6] , A=[2,9,6,9] , C=1 , 4+6+1=11 , A->1 , C->1 [] + [5,1,3,4,0,9,9,1,7,9,6] , A=[1,2,9,6,9] , C=1 , 0+6+1=7 , A->7 , C->0 [] + [5,1,3,4,0,9,9,1,7,9] , A=[7,1,2,9,6,9] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [5,1,3,4,0,9,9,1,7] , A=[9,7,1,2,9,6,9] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [5,1,3,4,0,9,9,1] , A=[7,9,7,1,2,9,6,9] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [5,1,3,4,0,9,9] , A=[1,7,9,7,1,2,9,6,9] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [5,1,3,4,0,9] , A=[9,1,7,9,7,1,2,9,6,9] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [5,1,3,4,0] , A=[9,9,1,7,9,7,1,2,9,6,9] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [5,1,3,4] , A=[0,9,9,1,7,9,7,1,2,9,6,9] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [5,1,3] , A=[4,0,9,9,1,7,9,7,1,2,9,6,9] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [5,1] , A=[3,4,0,9,9,1,7,9,7,1,2,9,6,9] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [5] , A=[1,3,4,0,9,9,1,7,9,7,1,2,9,6,9] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [] , A=[5,1,3,4,0,9,9,1,7,9,7,1,2,9,6,9] C=0 , END </scratch> 5134099179712969
5134099179712969
5
Input: 48233278+6236471123140443 Target:
Input: 48233278+6236471123140443 Target: [4,8,2,3,3,2,7,8] + [6,2,3,6,4,7,1,1,2,3,1,4,0,4,4,3] , A=[] , C=0 , 8+3+0=11 , A->1 , C->1 [4,8,2,3,3,2,7] + [6,2,3,6,4,7,1,1,2,3,1,4,0,4,4] , A=[1] , C=1 , 7+4+1=12 , A->2 , C->1 [4,8,2,3,3,2] + [6,2,3,6,4,7,1,1,2,3,1,4,0,4] , A=[2,1] , C=1 , 2+4+1=7 , A->7 , C->0 [4,8,2,3,3] + [6,2,3,6,4,7,1,1,2,3,1,4,0] , A=[7,2,1] , C=0 , 3+0+0=3 , A->3 , C->0 [4,8,2,3] + [6,2,3,6,4,7,1,1,2,3,1,4] , A=[3,7,2,1] , C=0 , 3+4+0=7 , A->7 , C->0 [4,8,2] + [6,2,3,6,4,7,1,1,2,3,1] , A=[7,3,7,2,1] , C=0 , 2+1+0=3 , A->3 , C->0 [4,8] + [6,2,3,6,4,7,1,1,2,3] , A=[3,7,3,7,2,1] , C=0 , 8+3+0=11 , A->1 , C->1 [4] + [6,2,3,6,4,7,1,1,2] , A=[1,3,7,3,7,2,1] , C=1 , 4+2+1=7 , A->7 , C->0 [] + [6,2,3,6,4,7,1,1] , A=[7,1,3,7,3,7,2,1] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [6,2,3,6,4,7,1] , A=[1,7,1,3,7,3,7,2,1] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [6,2,3,6,4,7] , A=[1,1,7,1,3,7,3,7,2,1] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [6,2,3,6,4] , A=[7,1,1,7,1,3,7,3,7,2,1] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [6,2,3,6] , A=[4,7,1,1,7,1,3,7,3,7,2,1] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [6,2,3] , A=[6,4,7,1,1,7,1,3,7,3,7,2,1] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [6,2] , A=[3,6,4,7,1,1,7,1,3,7,3,7,2,1] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [6] , A=[2,3,6,4,7,1,1,7,1,3,7,3,7,2,1] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [] , A=[6,2,3,6,4,7,1,1,7,1,3,7,3,7,2,1] C=0 , END </scratch> 6236471171373721
6236471171373721
8
Input: 2147+1992595956705633 Target:
Input: 2147+1992595956705633 Target: [2,1,4,7] + [1,9,9,2,5,9,5,9,5,6,7,0,5,6,3,3] , A=[] , C=0 , 7+3+0=10 , A->0 , C->1 [2,1,4] + [1,9,9,2,5,9,5,9,5,6,7,0,5,6,3] , A=[0] , C=1 , 4+3+1=8 , A->8 , C->0 [2,1] + [1,9,9,2,5,9,5,9,5,6,7,0,5,6] , A=[8,0] , C=0 , 1+6+0=7 , A->7 , C->0 [2] + [1,9,9,2,5,9,5,9,5,6,7,0,5] , A=[7,8,0] , C=0 , 2+5+0=7 , A->7 , C->0 [] + [1,9,9,2,5,9,5,9,5,6,7,0] , A=[7,7,8,0] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [1,9,9,2,5,9,5,9,5,6,7] , A=[0,7,7,8,0] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [1,9,9,2,5,9,5,9,5,6] , A=[7,0,7,7,8,0] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [1,9,9,2,5,9,5,9,5] , A=[6,7,0,7,7,8,0] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [1,9,9,2,5,9,5,9] , A=[5,6,7,0,7,7,8,0] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [1,9,9,2,5,9,5] , A=[9,5,6,7,0,7,7,8,0] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [1,9,9,2,5,9] , A=[5,9,5,6,7,0,7,7,8,0] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [1,9,9,2,5] , A=[9,5,9,5,6,7,0,7,7,8,0] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [1,9,9,2] , A=[5,9,5,9,5,6,7,0,7,7,8,0] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [1,9,9] , A=[2,5,9,5,9,5,6,7,0,7,7,8,0] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [1,9] , A=[9,2,5,9,5,9,5,6,7,0,7,7,8,0] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [1] , A=[9,9,2,5,9,5,9,5,6,7,0,7,7,8,0] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [] , A=[1,9,9,2,5,9,5,9,5,6,7,0,7,7,8,0] C=0 , END </scratch> 1992595956707780
1992595956707780
4
Input: 8728385125891602+5669037161645151 Target:
Input: 8728385125891602+5669037161645151 Target: [8,7,2,8,3,8,5,1,2,5,8,9,1,6,0,2] + [5,6,6,9,0,3,7,1,6,1,6,4,5,1,5,1] , A=[] , C=0 , 2+1+0=3 , A->3 , C->0 [8,7,2,8,3,8,5,1,2,5,8,9,1,6,0] + [5,6,6,9,0,3,7,1,6,1,6,4,5,1,5] , A=[3] , C=0 , 0+5+0=5 , A->5 , C->0 [8,7,2,8,3,8,5,1,2,5,8,9,1,6] + [5,6,6,9,0,3,7,1,6,1,6,4,5,1] , A=[5,3] , C=0 , 6+1+0=7 , A->7 , C->0 [8,7,2,8,3,8,5,1,2,5,8,9,1] + [5,6,6,9,0,3,7,1,6,1,6,4,5] , A=[7,5,3] , C=0 , 1+5+0=6 , A->6 , C->0 [8,7,2,8,3,8,5,1,2,5,8,9] + [5,6,6,9,0,3,7,1,6,1,6,4] , A=[6,7,5,3] , C=0 , 9+4+0=13 , A->3 , C->1 [8,7,2,8,3,8,5,1,2,5,8] + [5,6,6,9,0,3,7,1,6,1,6] , A=[3,6,7,5,3] , C=1 , 8+6+1=15 , A->5 , C->1 [8,7,2,8,3,8,5,1,2,5] + [5,6,6,9,0,3,7,1,6,1] , A=[5,3,6,7,5,3] , C=1 , 5+1+1=7 , A->7 , C->0 [8,7,2,8,3,8,5,1,2] + [5,6,6,9,0,3,7,1,6] , A=[7,5,3,6,7,5,3] , C=0 , 2+6+0=8 , A->8 , C->0 [8,7,2,8,3,8,5,1] + [5,6,6,9,0,3,7,1] , A=[8,7,5,3,6,7,5,3] , C=0 , 1+1+0=2 , A->2 , C->0 [8,7,2,8,3,8,5] + [5,6,6,9,0,3,7] , A=[2,8,7,5,3,6,7,5,3] , C=0 , 5+7+0=12 , A->2 , C->1 [8,7,2,8,3,8] + [5,6,6,9,0,3] , A=[2,2,8,7,5,3,6,7,5,3] , C=1 , 8+3+1=12 , A->2 , C->1 [8,7,2,8,3] + [5,6,6,9,0] , A=[2,2,2,8,7,5,3,6,7,5,3] , C=1 , 3+0+1=4 , A->4 , C->0 [8,7,2,8] + [5,6,6,9] , A=[4,2,2,2,8,7,5,3,6,7,5,3] , C=0 , 8+9+0=17 , A->7 , C->1 [8,7,2] + [5,6,6] , A=[7,4,2,2,2,8,7,5,3,6,7,5,3] , C=1 , 2+6+1=9 , A->9 , C->0 [8,7] + [5,6] , A=[9,7,4,2,2,2,8,7,5,3,6,7,5,3] , C=0 , 7+6+0=13 , A->3 , C->1 [8] + [5] , A=[3,9,7,4,2,2,2,8,7,5,3,6,7,5,3] , C=1 , 8+5+1=14 , A->4 , C->1 [] + [] , A=[4,3,9,7,4,2,2,2,8,7,5,3,6,7,5,3] C=1 , END </scratch> 14397422287536753
14397422287536753
16
Input: 8124249624665026+5887063074 Target:
Input: 8124249624665026+5887063074 Target: [8,1,2,4,2,4,9,6,2,4,6,6,5,0,2,6] + [5,8,8,7,0,6,3,0,7,4] , A=[] , C=0 , 6+4+0=10 , A->0 , C->1 [8,1,2,4,2,4,9,6,2,4,6,6,5,0,2] + [5,8,8,7,0,6,3,0,7] , A=[0] , C=1 , 2+7+1=10 , A->0 , C->1 [8,1,2,4,2,4,9,6,2,4,6,6,5,0] + [5,8,8,7,0,6,3,0] , A=[0,0] , C=1 , 0+0+1=1 , A->1 , C->0 [8,1,2,4,2,4,9,6,2,4,6,6,5] + [5,8,8,7,0,6,3] , A=[1,0,0] , C=0 , 5+3+0=8 , A->8 , C->0 [8,1,2,4,2,4,9,6,2,4,6,6] + [5,8,8,7,0,6] , A=[8,1,0,0] , C=0 , 6+6+0=12 , A->2 , C->1 [8,1,2,4,2,4,9,6,2,4,6] + [5,8,8,7,0] , A=[2,8,1,0,0] , C=1 , 6+0+1=7 , A->7 , C->0 [8,1,2,4,2,4,9,6,2,4] + [5,8,8,7] , A=[7,2,8,1,0,0] , C=0 , 4+7+0=11 , A->1 , C->1 [8,1,2,4,2,4,9,6,2] + [5,8,8] , A=[1,7,2,8,1,0,0] , C=1 , 2+8+1=11 , A->1 , C->1 [8,1,2,4,2,4,9,6] + [5,8] , A=[1,1,7,2,8,1,0,0] , C=1 , 6+8+1=15 , A->5 , C->1 [8,1,2,4,2,4,9] + [5] , A=[5,1,1,7,2,8,1,0,0] , C=1 , 9+5+1=15 , A->5 , C->1 [8,1,2,4,2,4] + [] , A=[5,5,1,1,7,2,8,1,0,0] , C=1 , 4+0+1=5 , A->5 , C->0 [8,1,2,4,2] + [] , A=[5,5,5,1,1,7,2,8,1,0,0] , C=0 , 2+0+0=2 , A->2 , C->0 [8,1,2,4] + [] , A=[2,5,5,5,1,1,7,2,8,1,0,0] , C=0 , 4+0+0=4 , A->4 , C->0 [8,1,2] + [] , A=[4,2,5,5,5,1,1,7,2,8,1,0,0] , C=0 , 2+0+0=2 , A->2 , C->0 [8,1] + [] , A=[2,4,2,5,5,5,1,1,7,2,8,1,0,0] , C=0 , 1+0+0=1 , A->1 , C->0 [8] + [] , A=[1,2,4,2,5,5,5,1,1,7,2,8,1,0,0] , C=0 , 8+0+0=8 , A->8 , C->0 [] + [] , A=[8,1,2,4,2,5,5,5,1,1,7,2,8,1,0,0] C=0 , END </scratch> 8124255511728100
8124255511728100
10
Input: 9338178240787431+4 Target:
Input: 9338178240787431+4 Target: [9,3,3,8,1,7,8,2,4,0,7,8,7,4,3,1] + [4] , A=[] , C=0 , 1+4+0=5 , A->5 , C->0 [9,3,3,8,1,7,8,2,4,0,7,8,7,4,3] + [] , A=[5] , C=0 , 3+0+0=3 , A->3 , C->0 [9,3,3,8,1,7,8,2,4,0,7,8,7,4] + [] , A=[3,5] , C=0 , 4+0+0=4 , A->4 , C->0 [9,3,3,8,1,7,8,2,4,0,7,8,7] + [] , A=[4,3,5] , C=0 , 7+0+0=7 , A->7 , C->0 [9,3,3,8,1,7,8,2,4,0,7,8] + [] , A=[7,4,3,5] , C=0 , 8+0+0=8 , A->8 , C->0 [9,3,3,8,1,7,8,2,4,0,7] + [] , A=[8,7,4,3,5] , C=0 , 7+0+0=7 , A->7 , C->0 [9,3,3,8,1,7,8,2,4,0] + [] , A=[7,8,7,4,3,5] , C=0 , 0+0+0=0 , A->0 , C->0 [9,3,3,8,1,7,8,2,4] + [] , A=[0,7,8,7,4,3,5] , C=0 , 4+0+0=4 , A->4 , C->0 [9,3,3,8,1,7,8,2] + [] , A=[4,0,7,8,7,4,3,5] , C=0 , 2+0+0=2 , A->2 , C->0 [9,3,3,8,1,7,8] + [] , A=[2,4,0,7,8,7,4,3,5] , C=0 , 8+0+0=8 , A->8 , C->0 [9,3,3,8,1,7] + [] , A=[8,2,4,0,7,8,7,4,3,5] , C=0 , 7+0+0=7 , A->7 , C->0 [9,3,3,8,1] + [] , A=[7,8,2,4,0,7,8,7,4,3,5] , C=0 , 1+0+0=1 , A->1 , C->0 [9,3,3,8] + [] , A=[1,7,8,2,4,0,7,8,7,4,3,5] , C=0 , 8+0+0=8 , A->8 , C->0 [9,3,3] + [] , A=[8,1,7,8,2,4,0,7,8,7,4,3,5] , C=0 , 3+0+0=3 , A->3 , C->0 [9,3] + [] , A=[3,8,1,7,8,2,4,0,7,8,7,4,3,5] , C=0 , 3+0+0=3 , A->3 , C->0 [9] + [] , A=[3,3,8,1,7,8,2,4,0,7,8,7,4,3,5] , C=0 , 9+0+0=9 , A->9 , C->0 [] + [] , A=[9,3,3,8,1,7,8,2,4,0,7,8,7,4,3,5] C=0 , END </scratch> 9338178240787435
9338178240787435
1
Input: 2399692+1914916915343809 Target:
Input: 2399692+1914916915343809 Target: [2,3,9,9,6,9,2] + [1,9,1,4,9,1,6,9,1,5,3,4,3,8,0,9] , A=[] , C=0 , 2+9+0=11 , A->1 , C->1 [2,3,9,9,6,9] + [1,9,1,4,9,1,6,9,1,5,3,4,3,8,0] , A=[1] , C=1 , 9+0+1=10 , A->0 , C->1 [2,3,9,9,6] + [1,9,1,4,9,1,6,9,1,5,3,4,3,8] , A=[0,1] , C=1 , 6+8+1=15 , A->5 , C->1 [2,3,9,9] + [1,9,1,4,9,1,6,9,1,5,3,4,3] , A=[5,0,1] , C=1 , 9+3+1=13 , A->3 , C->1 [2,3,9] + [1,9,1,4,9,1,6,9,1,5,3,4] , A=[3,5,0,1] , C=1 , 9+4+1=14 , A->4 , C->1 [2,3] + [1,9,1,4,9,1,6,9,1,5,3] , A=[4,3,5,0,1] , C=1 , 3+3+1=7 , A->7 , C->0 [2] + [1,9,1,4,9,1,6,9,1,5] , A=[7,4,3,5,0,1] , C=0 , 2+5+0=7 , A->7 , C->0 [] + [1,9,1,4,9,1,6,9,1] , A=[7,7,4,3,5,0,1] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [1,9,1,4,9,1,6,9] , A=[1,7,7,4,3,5,0,1] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [1,9,1,4,9,1,6] , A=[9,1,7,7,4,3,5,0,1] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [1,9,1,4,9,1] , A=[6,9,1,7,7,4,3,5,0,1] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [1,9,1,4,9] , A=[1,6,9,1,7,7,4,3,5,0,1] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [1,9,1,4] , A=[9,1,6,9,1,7,7,4,3,5,0,1] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [1,9,1] , A=[4,9,1,6,9,1,7,7,4,3,5,0,1] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [1,9] , A=[1,4,9,1,6,9,1,7,7,4,3,5,0,1] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [1] , A=[9,1,4,9,1,6,9,1,7,7,4,3,5,0,1] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [] , A=[1,9,1,4,9,1,6,9,1,7,7,4,3,5,0,1] C=0 , END </scratch> 1914916917743501
1914916917743501
7
Input: 62+1537249957940914 Target:
Input: 62+1537249957940914 Target: [6,2] + [1,5,3,7,2,4,9,9,5,7,9,4,0,9,1,4] , A=[] , C=0 , 2+4+0=6 , A->6 , C->0 [6] + [1,5,3,7,2,4,9,9,5,7,9,4,0,9,1] , A=[6] , C=0 , 6+1+0=7 , A->7 , C->0 [] + [1,5,3,7,2,4,9,9,5,7,9,4,0,9] , A=[7,6] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [1,5,3,7,2,4,9,9,5,7,9,4,0] , A=[9,7,6] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [1,5,3,7,2,4,9,9,5,7,9,4] , A=[0,9,7,6] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [1,5,3,7,2,4,9,9,5,7,9] , A=[4,0,9,7,6] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [1,5,3,7,2,4,9,9,5,7] , A=[9,4,0,9,7,6] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [1,5,3,7,2,4,9,9,5] , A=[7,9,4,0,9,7,6] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [1,5,3,7,2,4,9,9] , A=[5,7,9,4,0,9,7,6] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [1,5,3,7,2,4,9] , A=[9,5,7,9,4,0,9,7,6] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [1,5,3,7,2,4] , A=[9,9,5,7,9,4,0,9,7,6] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [1,5,3,7,2] , A=[4,9,9,5,7,9,4,0,9,7,6] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [1,5,3,7] , A=[2,4,9,9,5,7,9,4,0,9,7,6] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [1,5,3] , A=[7,2,4,9,9,5,7,9,4,0,9,7,6] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [1,5] , A=[3,7,2,4,9,9,5,7,9,4,0,9,7,6] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [1] , A=[5,3,7,2,4,9,9,5,7,9,4,0,9,7,6] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [] , A=[1,5,3,7,2,4,9,9,5,7,9,4,0,9,7,6] C=0 , END </scratch> 1537249957940976
1537249957940976
2
Input: 8245012982067046+22570445333 Target:
Input: 8245012982067046+22570445333 Target: [8,2,4,5,0,1,2,9,8,2,0,6,7,0,4,6] + [2,2,5,7,0,4,4,5,3,3,3] , A=[] , C=0 , 6+3+0=9 , A->9 , C->0 [8,2,4,5,0,1,2,9,8,2,0,6,7,0,4] + [2,2,5,7,0,4,4,5,3,3] , A=[9] , C=0 , 4+3+0=7 , A->7 , C->0 [8,2,4,5,0,1,2,9,8,2,0,6,7,0] + [2,2,5,7,0,4,4,5,3] , A=[7,9] , C=0 , 0+3+0=3 , A->3 , C->0 [8,2,4,5,0,1,2,9,8,2,0,6,7] + [2,2,5,7,0,4,4,5] , A=[3,7,9] , C=0 , 7+5+0=12 , A->2 , C->1 [8,2,4,5,0,1,2,9,8,2,0,6] + [2,2,5,7,0,4,4] , A=[2,3,7,9] , C=1 , 6+4+1=11 , A->1 , C->1 [8,2,4,5,0,1,2,9,8,2,0] + [2,2,5,7,0,4] , A=[1,2,3,7,9] , C=1 , 0+4+1=5 , A->5 , C->0 [8,2,4,5,0,1,2,9,8,2] + [2,2,5,7,0] , A=[5,1,2,3,7,9] , C=0 , 2+0+0=2 , A->2 , C->0 [8,2,4,5,0,1,2,9,8] + [2,2,5,7] , A=[2,5,1,2,3,7,9] , C=0 , 8+7+0=15 , A->5 , C->1 [8,2,4,5,0,1,2,9] + [2,2,5] , A=[5,2,5,1,2,3,7,9] , C=1 , 9+5+1=15 , A->5 , C->1 [8,2,4,5,0,1,2] + [2,2] , A=[5,5,2,5,1,2,3,7,9] , C=1 , 2+2+1=5 , A->5 , C->0 [8,2,4,5,0,1] + [2] , A=[5,5,5,2,5,1,2,3,7,9] , C=0 , 1+2+0=3 , A->3 , C->0 [8,2,4,5,0] + [] , A=[3,5,5,5,2,5,1,2,3,7,9] , C=0 , 0+0+0=0 , A->0 , C->0 [8,2,4,5] + [] , A=[0,3,5,5,5,2,5,1,2,3,7,9] , C=0 , 5+0+0=5 , A->5 , C->0 [8,2,4] + [] , A=[5,0,3,5,5,5,2,5,1,2,3,7,9] , C=0 , 4+0+0=4 , A->4 , C->0 [8,2] + [] , A=[4,5,0,3,5,5,5,2,5,1,2,3,7,9] , C=0 , 2+0+0=2 , A->2 , C->0 [8] + [] , A=[2,4,5,0,3,5,5,5,2,5,1,2,3,7,9] , C=0 , 8+0+0=8 , A->8 , C->0 [] + [] , A=[8,2,4,5,0,3,5,5,5,2,5,1,2,3,7,9] C=0 , END </scratch> 8245035552512379
8245035552512379
11
Input: 4609526350117+5160756155828784 Target:
Input: 4609526350117+5160756155828784 Target: [4,6,0,9,5,2,6,3,5,0,1,1,7] + [5,1,6,0,7,5,6,1,5,5,8,2,8,7,8,4] , A=[] , C=0 , 7+4+0=11 , A->1 , C->1 [4,6,0,9,5,2,6,3,5,0,1,1] + [5,1,6,0,7,5,6,1,5,5,8,2,8,7,8] , A=[1] , C=1 , 1+8+1=10 , A->0 , C->1 [4,6,0,9,5,2,6,3,5,0,1] + [5,1,6,0,7,5,6,1,5,5,8,2,8,7] , A=[0,1] , C=1 , 1+7+1=9 , A->9 , C->0 [4,6,0,9,5,2,6,3,5,0] + [5,1,6,0,7,5,6,1,5,5,8,2,8] , A=[9,0,1] , C=0 , 0+8+0=8 , A->8 , C->0 [4,6,0,9,5,2,6,3,5] + [5,1,6,0,7,5,6,1,5,5,8,2] , A=[8,9,0,1] , C=0 , 5+2+0=7 , A->7 , C->0 [4,6,0,9,5,2,6,3] + [5,1,6,0,7,5,6,1,5,5,8] , A=[7,8,9,0,1] , C=0 , 3+8+0=11 , A->1 , C->1 [4,6,0,9,5,2,6] + [5,1,6,0,7,5,6,1,5,5] , A=[1,7,8,9,0,1] , C=1 , 6+5+1=12 , A->2 , C->1 [4,6,0,9,5,2] + [5,1,6,0,7,5,6,1,5] , A=[2,1,7,8,9,0,1] , C=1 , 2+5+1=8 , A->8 , C->0 [4,6,0,9,5] + [5,1,6,0,7,5,6,1] , A=[8,2,1,7,8,9,0,1] , C=0 , 5+1+0=6 , A->6 , C->0 [4,6,0,9] + [5,1,6,0,7,5,6] , A=[6,8,2,1,7,8,9,0,1] , C=0 , 9+6+0=15 , A->5 , C->1 [4,6,0] + [5,1,6,0,7,5] , A=[5,6,8,2,1,7,8,9,0,1] , C=1 , 0+5+1=6 , A->6 , C->0 [4,6] + [5,1,6,0,7] , A=[6,5,6,8,2,1,7,8,9,0,1] , C=0 , 6+7+0=13 , A->3 , C->1 [4] + [5,1,6,0] , A=[3,6,5,6,8,2,1,7,8,9,0,1] , C=1 , 4+0+1=5 , A->5 , C->0 [] + [5,1,6] , A=[5,3,6,5,6,8,2,1,7,8,9,0,1] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [5,1] , A=[6,5,3,6,5,6,8,2,1,7,8,9,0,1] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [5] , A=[1,6,5,3,6,5,6,8,2,1,7,8,9,0,1] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [] , A=[5,1,6,5,3,6,5,6,8,2,1,7,8,9,0,1] C=0 , END </scratch> 5165365682178901
5165365682178901
13
Input: 87+3674299385115204 Target:
Input: 87+3674299385115204 Target: [8,7] + [3,6,7,4,2,9,9,3,8,5,1,1,5,2,0,4] , A=[] , C=0 , 7+4+0=11 , A->1 , C->1 [8] + [3,6,7,4,2,9,9,3,8,5,1,1,5,2,0] , A=[1] , C=1 , 8+0+1=9 , A->9 , C->0 [] + [3,6,7,4,2,9,9,3,8,5,1,1,5,2] , A=[9,1] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [3,6,7,4,2,9,9,3,8,5,1,1,5] , A=[2,9,1] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [3,6,7,4,2,9,9,3,8,5,1,1] , A=[5,2,9,1] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [3,6,7,4,2,9,9,3,8,5,1] , A=[1,5,2,9,1] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [3,6,7,4,2,9,9,3,8,5] , A=[1,1,5,2,9,1] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [3,6,7,4,2,9,9,3,8] , A=[5,1,1,5,2,9,1] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [3,6,7,4,2,9,9,3] , A=[8,5,1,1,5,2,9,1] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [3,6,7,4,2,9,9] , A=[3,8,5,1,1,5,2,9,1] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [3,6,7,4,2,9] , A=[9,3,8,5,1,1,5,2,9,1] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [3,6,7,4,2] , A=[9,9,3,8,5,1,1,5,2,9,1] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [3,6,7,4] , A=[2,9,9,3,8,5,1,1,5,2,9,1] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [3,6,7] , A=[4,2,9,9,3,8,5,1,1,5,2,9,1] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [3,6] , A=[7,4,2,9,9,3,8,5,1,1,5,2,9,1] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [3] , A=[6,7,4,2,9,9,3,8,5,1,1,5,2,9,1] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [] , A=[3,6,7,4,2,9,9,3,8,5,1,1,5,2,9,1] C=0 , END </scratch> 3674299385115291
3674299385115291
2
Input: 7085973293284558+38 Target:
Input: 7085973293284558+38 Target: [7,0,8,5,9,7,3,2,9,3,2,8,4,5,5,8] + [3,8] , A=[] , C=0 , 8+8+0=16 , A->6 , C->1 [7,0,8,5,9,7,3,2,9,3,2,8,4,5,5] + [3] , A=[6] , C=1 , 5+3+1=9 , A->9 , C->0 [7,0,8,5,9,7,3,2,9,3,2,8,4,5] + [] , A=[9,6] , C=0 , 5+0+0=5 , A->5 , C->0 [7,0,8,5,9,7,3,2,9,3,2,8,4] + [] , A=[5,9,6] , C=0 , 4+0+0=4 , A->4 , C->0 [7,0,8,5,9,7,3,2,9,3,2,8] + [] , A=[4,5,9,6] , C=0 , 8+0+0=8 , A->8 , C->0 [7,0,8,5,9,7,3,2,9,3,2] + [] , A=[8,4,5,9,6] , C=0 , 2+0+0=2 , A->2 , C->0 [7,0,8,5,9,7,3,2,9,3] + [] , A=[2,8,4,5,9,6] , C=0 , 3+0+0=3 , A->3 , C->0 [7,0,8,5,9,7,3,2,9] + [] , A=[3,2,8,4,5,9,6] , C=0 , 9+0+0=9 , A->9 , C->0 [7,0,8,5,9,7,3,2] + [] , A=[9,3,2,8,4,5,9,6] , C=0 , 2+0+0=2 , A->2 , C->0 [7,0,8,5,9,7,3] + [] , A=[2,9,3,2,8,4,5,9,6] , C=0 , 3+0+0=3 , A->3 , C->0 [7,0,8,5,9,7] + [] , A=[3,2,9,3,2,8,4,5,9,6] , C=0 , 7+0+0=7 , A->7 , C->0 [7,0,8,5,9] + [] , A=[7,3,2,9,3,2,8,4,5,9,6] , C=0 , 9+0+0=9 , A->9 , C->0 [7,0,8,5] + [] , A=[9,7,3,2,9,3,2,8,4,5,9,6] , C=0 , 5+0+0=5 , A->5 , C->0 [7,0,8] + [] , A=[5,9,7,3,2,9,3,2,8,4,5,9,6] , C=0 , 8+0+0=8 , A->8 , C->0 [7,0] + [] , A=[8,5,9,7,3,2,9,3,2,8,4,5,9,6] , C=0 , 0+0+0=0 , A->0 , C->0 [7] + [] , A=[0,8,5,9,7,3,2,9,3,2,8,4,5,9,6] , C=0 , 7+0+0=7 , A->7 , C->0 [] + [] , A=[7,0,8,5,9,7,3,2,9,3,2,8,4,5,9,6] C=0 , END </scratch> 7085973293284596
7085973293284596
2
Input: 3901337729222178+1761526075040739 Target:
Input: 3901337729222178+1761526075040739 Target: [3,9,0,1,3,3,7,7,2,9,2,2,2,1,7,8] + [1,7,6,1,5,2,6,0,7,5,0,4,0,7,3,9] , A=[] , C=0 , 8+9+0=17 , A->7 , C->1 [3,9,0,1,3,3,7,7,2,9,2,2,2,1,7] + [1,7,6,1,5,2,6,0,7,5,0,4,0,7,3] , A=[7] , C=1 , 7+3+1=11 , A->1 , C->1 [3,9,0,1,3,3,7,7,2,9,2,2,2,1] + [1,7,6,1,5,2,6,0,7,5,0,4,0,7] , A=[1,7] , C=1 , 1+7+1=9 , A->9 , C->0 [3,9,0,1,3,3,7,7,2,9,2,2,2] + [1,7,6,1,5,2,6,0,7,5,0,4,0] , A=[9,1,7] , C=0 , 2+0+0=2 , A->2 , C->0 [3,9,0,1,3,3,7,7,2,9,2,2] + [1,7,6,1,5,2,6,0,7,5,0,4] , A=[2,9,1,7] , C=0 , 2+4+0=6 , A->6 , C->0 [3,9,0,1,3,3,7,7,2,9,2] + [1,7,6,1,5,2,6,0,7,5,0] , A=[6,2,9,1,7] , C=0 , 2+0+0=2 , A->2 , C->0 [3,9,0,1,3,3,7,7,2,9] + [1,7,6,1,5,2,6,0,7,5] , A=[2,6,2,9,1,7] , C=0 , 9+5+0=14 , A->4 , C->1 [3,9,0,1,3,3,7,7,2] + [1,7,6,1,5,2,6,0,7] , A=[4,2,6,2,9,1,7] , C=1 , 2+7+1=10 , A->0 , C->1 [3,9,0,1,3,3,7,7] + [1,7,6,1,5,2,6,0] , A=[0,4,2,6,2,9,1,7] , C=1 , 7+0+1=8 , A->8 , C->0 [3,9,0,1,3,3,7] + [1,7,6,1,5,2,6] , A=[8,0,4,2,6,2,9,1,7] , C=0 , 7+6+0=13 , A->3 , C->1 [3,9,0,1,3,3] + [1,7,6,1,5,2] , A=[3,8,0,4,2,6,2,9,1,7] , C=1 , 3+2+1=6 , A->6 , C->0 [3,9,0,1,3] + [1,7,6,1,5] , A=[6,3,8,0,4,2,6,2,9,1,7] , C=0 , 3+5+0=8 , A->8 , C->0 [3,9,0,1] + [1,7,6,1] , A=[8,6,3,8,0,4,2,6,2,9,1,7] , C=0 , 1+1+0=2 , A->2 , C->0 [3,9,0] + [1,7,6] , A=[2,8,6,3,8,0,4,2,6,2,9,1,7] , C=0 , 0+6+0=6 , A->6 , C->0 [3,9] + [1,7] , A=[6,2,8,6,3,8,0,4,2,6,2,9,1,7] , C=0 , 9+7+0=16 , A->6 , C->1 [3] + [1] , A=[6,6,2,8,6,3,8,0,4,2,6,2,9,1,7] , C=1 , 3+1+1=5 , A->5 , C->0 [] + [] , A=[5,6,6,2,8,6,3,8,0,4,2,6,2,9,1,7] C=0 , END </scratch> 5662863804262917
5662863804262917
16
Input: 77224806950+2579328060985682 Target:
Input: 77224806950+2579328060985682 Target: [7,7,2,2,4,8,0,6,9,5,0] + [2,5,7,9,3,2,8,0,6,0,9,8,5,6,8,2] , A=[] , C=0 , 0+2+0=2 , A->2 , C->0 [7,7,2,2,4,8,0,6,9,5] + [2,5,7,9,3,2,8,0,6,0,9,8,5,6,8] , A=[2] , C=0 , 5+8+0=13 , A->3 , C->1 [7,7,2,2,4,8,0,6,9] + [2,5,7,9,3,2,8,0,6,0,9,8,5,6] , A=[3,2] , C=1 , 9+6+1=16 , A->6 , C->1 [7,7,2,2,4,8,0,6] + [2,5,7,9,3,2,8,0,6,0,9,8,5] , A=[6,3,2] , C=1 , 6+5+1=12 , A->2 , C->1 [7,7,2,2,4,8,0] + [2,5,7,9,3,2,8,0,6,0,9,8] , A=[2,6,3,2] , C=1 , 0+8+1=9 , A->9 , C->0 [7,7,2,2,4,8] + [2,5,7,9,3,2,8,0,6,0,9] , A=[9,2,6,3,2] , C=0 , 8+9+0=17 , A->7 , C->1 [7,7,2,2,4] + [2,5,7,9,3,2,8,0,6,0] , A=[7,9,2,6,3,2] , C=1 , 4+0+1=5 , A->5 , C->0 [7,7,2,2] + [2,5,7,9,3,2,8,0,6] , A=[5,7,9,2,6,3,2] , C=0 , 2+6+0=8 , A->8 , C->0 [7,7,2] + [2,5,7,9,3,2,8,0] , A=[8,5,7,9,2,6,3,2] , C=0 , 2+0+0=2 , A->2 , C->0 [7,7] + [2,5,7,9,3,2,8] , A=[2,8,5,7,9,2,6,3,2] , C=0 , 7+8+0=15 , A->5 , C->1 [7] + [2,5,7,9,3,2] , A=[5,2,8,5,7,9,2,6,3,2] , C=1 , 7+2+1=10 , A->0 , C->1 [] + [2,5,7,9,3] , A=[0,5,2,8,5,7,9,2,6,3,2] , C=1 , 0+3+1=4 , A->4 , C->0 [] + [2,5,7,9] , A=[4,0,5,2,8,5,7,9,2,6,3,2] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [2,5,7] , A=[9,4,0,5,2,8,5,7,9,2,6,3,2] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [2,5] , A=[7,9,4,0,5,2,8,5,7,9,2,6,3,2] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [2] , A=[5,7,9,4,0,5,2,8,5,7,9,2,6,3,2] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [] , A=[2,5,7,9,4,0,5,2,8,5,7,9,2,6,3,2] C=0 , END </scratch> 2579405285792632
2579405285792632
11
Input: 6620278127732850+967119 Target:
Input: 6620278127732850+967119 Target: [6,6,2,0,2,7,8,1,2,7,7,3,2,8,5,0] + [9,6,7,1,1,9] , A=[] , C=0 , 0+9+0=9 , A->9 , C->0 [6,6,2,0,2,7,8,1,2,7,7,3,2,8,5] + [9,6,7,1,1] , A=[9] , C=0 , 5+1+0=6 , A->6 , C->0 [6,6,2,0,2,7,8,1,2,7,7,3,2,8] + [9,6,7,1] , A=[6,9] , C=0 , 8+1+0=9 , A->9 , C->0 [6,6,2,0,2,7,8,1,2,7,7,3,2] + [9,6,7] , A=[9,6,9] , C=0 , 2+7+0=9 , A->9 , C->0 [6,6,2,0,2,7,8,1,2,7,7,3] + [9,6] , A=[9,9,6,9] , C=0 , 3+6+0=9 , A->9 , C->0 [6,6,2,0,2,7,8,1,2,7,7] + [9] , A=[9,9,9,6,9] , C=0 , 7+9+0=16 , A->6 , C->1 [6,6,2,0,2,7,8,1,2,7] + [] , A=[6,9,9,9,6,9] , C=1 , 7+0+1=8 , A->8 , C->0 [6,6,2,0,2,7,8,1,2] + [] , A=[8,6,9,9,9,6,9] , C=0 , 2+0+0=2 , A->2 , C->0 [6,6,2,0,2,7,8,1] + [] , A=[2,8,6,9,9,9,6,9] , C=0 , 1+0+0=1 , A->1 , C->0 [6,6,2,0,2,7,8] + [] , A=[1,2,8,6,9,9,9,6,9] , C=0 , 8+0+0=8 , A->8 , C->0 [6,6,2,0,2,7] + [] , A=[8,1,2,8,6,9,9,9,6,9] , C=0 , 7+0+0=7 , A->7 , C->0 [6,6,2,0,2] + [] , A=[7,8,1,2,8,6,9,9,9,6,9] , C=0 , 2+0+0=2 , A->2 , C->0 [6,6,2,0] + [] , A=[2,7,8,1,2,8,6,9,9,9,6,9] , C=0 , 0+0+0=0 , A->0 , C->0 [6,6,2] + [] , A=[0,2,7,8,1,2,8,6,9,9,9,6,9] , C=0 , 2+0+0=2 , A->2 , C->0 [6,6] + [] , A=[2,0,2,7,8,1,2,8,6,9,9,9,6,9] , C=0 , 6+0+0=6 , A->6 , C->0 [6] + [] , A=[6,2,0,2,7,8,1,2,8,6,9,9,9,6,9] , C=0 , 6+0+0=6 , A->6 , C->0 [] + [] , A=[6,6,2,0,2,7,8,1,2,8,6,9,9,9,6,9] C=0 , END </scratch> 6620278128699969
6620278128699969
6
Input: 5925784929216715+29854761834 Target:
Input: 5925784929216715+29854761834 Target: [5,9,2,5,7,8,4,9,2,9,2,1,6,7,1,5] + [2,9,8,5,4,7,6,1,8,3,4] , A=[] , C=0 , 5+4+0=9 , A->9 , C->0 [5,9,2,5,7,8,4,9,2,9,2,1,6,7,1] + [2,9,8,5,4,7,6,1,8,3] , A=[9] , C=0 , 1+3+0=4 , A->4 , C->0 [5,9,2,5,7,8,4,9,2,9,2,1,6,7] + [2,9,8,5,4,7,6,1,8] , A=[4,9] , C=0 , 7+8+0=15 , A->5 , C->1 [5,9,2,5,7,8,4,9,2,9,2,1,6] + [2,9,8,5,4,7,6,1] , A=[5,4,9] , C=1 , 6+1+1=8 , A->8 , C->0 [5,9,2,5,7,8,4,9,2,9,2,1] + [2,9,8,5,4,7,6] , A=[8,5,4,9] , C=0 , 1+6+0=7 , A->7 , C->0 [5,9,2,5,7,8,4,9,2,9,2] + [2,9,8,5,4,7] , A=[7,8,5,4,9] , C=0 , 2+7+0=9 , A->9 , C->0 [5,9,2,5,7,8,4,9,2,9] + [2,9,8,5,4] , A=[9,7,8,5,4,9] , C=0 , 9+4+0=13 , A->3 , C->1 [5,9,2,5,7,8,4,9,2] + [2,9,8,5] , A=[3,9,7,8,5,4,9] , C=1 , 2+5+1=8 , A->8 , C->0 [5,9,2,5,7,8,4,9] + [2,9,8] , A=[8,3,9,7,8,5,4,9] , C=0 , 9+8+0=17 , A->7 , C->1 [5,9,2,5,7,8,4] + [2,9] , A=[7,8,3,9,7,8,5,4,9] , C=1 , 4+9+1=14 , A->4 , C->1 [5,9,2,5,7,8] + [2] , A=[4,7,8,3,9,7,8,5,4,9] , C=1 , 8+2+1=11 , A->1 , C->1 [5,9,2,5,7] + [] , A=[1,4,7,8,3,9,7,8,5,4,9] , C=1 , 7+0+1=8 , A->8 , C->0 [5,9,2,5] + [] , A=[8,1,4,7,8,3,9,7,8,5,4,9] , C=0 , 5+0+0=5 , A->5 , C->0 [5,9,2] + [] , A=[5,8,1,4,7,8,3,9,7,8,5,4,9] , C=0 , 2+0+0=2 , A->2 , C->0 [5,9] + [] , A=[2,5,8,1,4,7,8,3,9,7,8,5,4,9] , C=0 , 9+0+0=9 , A->9 , C->0 [5] + [] , A=[9,2,5,8,1,4,7,8,3,9,7,8,5,4,9] , C=0 , 5+0+0=5 , A->5 , C->0 [] + [] , A=[5,9,2,5,8,1,4,7,8,3,9,7,8,5,4,9] C=0 , END </scratch> 5925814783978549
5925814783978549
11
Input: 1684863525473069+9731 Target:
Input: 1684863525473069+9731 Target: [1,6,8,4,8,6,3,5,2,5,4,7,3,0,6,9] + [9,7,3,1] , A=[] , C=0 , 9+1+0=10 , A->0 , C->1 [1,6,8,4,8,6,3,5,2,5,4,7,3,0,6] + [9,7,3] , A=[0] , C=1 , 6+3+1=10 , A->0 , C->1 [1,6,8,4,8,6,3,5,2,5,4,7,3,0] + [9,7] , A=[0,0] , C=1 , 0+7+1=8 , A->8 , C->0 [1,6,8,4,8,6,3,5,2,5,4,7,3] + [9] , A=[8,0,0] , C=0 , 3+9+0=12 , A->2 , C->1 [1,6,8,4,8,6,3,5,2,5,4,7] + [] , A=[2,8,0,0] , C=1 , 7+0+1=8 , A->8 , C->0 [1,6,8,4,8,6,3,5,2,5,4] + [] , A=[8,2,8,0,0] , C=0 , 4+0+0=4 , A->4 , C->0 [1,6,8,4,8,6,3,5,2,5] + [] , A=[4,8,2,8,0,0] , C=0 , 5+0+0=5 , A->5 , C->0 [1,6,8,4,8,6,3,5,2] + [] , A=[5,4,8,2,8,0,0] , C=0 , 2+0+0=2 , A->2 , C->0 [1,6,8,4,8,6,3,5] + [] , A=[2,5,4,8,2,8,0,0] , C=0 , 5+0+0=5 , A->5 , C->0 [1,6,8,4,8,6,3] + [] , A=[5,2,5,4,8,2,8,0,0] , C=0 , 3+0+0=3 , A->3 , C->0 [1,6,8,4,8,6] + [] , A=[3,5,2,5,4,8,2,8,0,0] , C=0 , 6+0+0=6 , A->6 , C->0 [1,6,8,4,8] + [] , A=[6,3,5,2,5,4,8,2,8,0,0] , C=0 , 8+0+0=8 , A->8 , C->0 [1,6,8,4] + [] , A=[8,6,3,5,2,5,4,8,2,8,0,0] , C=0 , 4+0+0=4 , A->4 , C->0 [1,6,8] + [] , A=[4,8,6,3,5,2,5,4,8,2,8,0,0] , C=0 , 8+0+0=8 , A->8 , C->0 [1,6] + [] , A=[8,4,8,6,3,5,2,5,4,8,2,8,0,0] , C=0 , 6+0+0=6 , A->6 , C->0 [1] + [] , A=[6,8,4,8,6,3,5,2,5,4,8,2,8,0,0] , C=0 , 1+0+0=1 , A->1 , C->0 [] + [] , A=[1,6,8,4,8,6,3,5,2,5,4,8,2,8,0,0] C=0 , END </scratch> 1684863525482800
1684863525482800
4
Input: 945650+8151213379519814 Target:
Input: 945650+8151213379519814 Target: [9,4,5,6,5,0] + [8,1,5,1,2,1,3,3,7,9,5,1,9,8,1,4] , A=[] , C=0 , 0+4+0=4 , A->4 , C->0 [9,4,5,6,5] + [8,1,5,1,2,1,3,3,7,9,5,1,9,8,1] , A=[4] , C=0 , 5+1+0=6 , A->6 , C->0 [9,4,5,6] + [8,1,5,1,2,1,3,3,7,9,5,1,9,8] , A=[6,4] , C=0 , 6+8+0=14 , A->4 , C->1 [9,4,5] + [8,1,5,1,2,1,3,3,7,9,5,1,9] , A=[4,6,4] , C=1 , 5+9+1=15 , A->5 , C->1 [9,4] + [8,1,5,1,2,1,3,3,7,9,5,1] , A=[5,4,6,4] , C=1 , 4+1+1=6 , A->6 , C->0 [9] + [8,1,5,1,2,1,3,3,7,9,5] , A=[6,5,4,6,4] , C=0 , 9+5+0=14 , A->4 , C->1 [] + [8,1,5,1,2,1,3,3,7,9] , A=[4,6,5,4,6,4] , C=1 , 0+9+1=10 , A->0 , C->1 [] + [8,1,5,1,2,1,3,3,7] , A=[0,4,6,5,4,6,4] , C=1 , 0+7+1=8 , A->8 , C->0 [] + [8,1,5,1,2,1,3,3] , A=[8,0,4,6,5,4,6,4] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [8,1,5,1,2,1,3] , A=[3,8,0,4,6,5,4,6,4] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [8,1,5,1,2,1] , A=[3,3,8,0,4,6,5,4,6,4] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [8,1,5,1,2] , A=[1,3,3,8,0,4,6,5,4,6,4] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [8,1,5,1] , A=[2,1,3,3,8,0,4,6,5,4,6,4] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [8,1,5] , A=[1,2,1,3,3,8,0,4,6,5,4,6,4] , C=0 , 0+5+0=5 , A->5 , C->0 [] + [8,1] , A=[5,1,2,1,3,3,8,0,4,6,5,4,6,4] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [8] , A=[1,5,1,2,1,3,3,8,0,4,6,5,4,6,4] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [] , A=[8,1,5,1,2,1,3,3,8,0,4,6,5,4,6,4] C=0 , END </scratch> 8151213380465464
8151213380465464
6
Input: 949389426+1149692422587999 Target:
Input: 949389426+1149692422587999 Target: [9,4,9,3,8,9,4,2,6] + [1,1,4,9,6,9,2,4,2,2,5,8,7,9,9,9] , A=[] , C=0 , 6+9+0=15 , A->5 , C->1 [9,4,9,3,8,9,4,2] + [1,1,4,9,6,9,2,4,2,2,5,8,7,9,9] , A=[5] , C=1 , 2+9+1=12 , A->2 , C->1 [9,4,9,3,8,9,4] + [1,1,4,9,6,9,2,4,2,2,5,8,7,9] , A=[2,5] , C=1 , 4+9+1=14 , A->4 , C->1 [9,4,9,3,8,9] + [1,1,4,9,6,9,2,4,2,2,5,8,7] , A=[4,2,5] , C=1 , 9+7+1=17 , A->7 , C->1 [9,4,9,3,8] + [1,1,4,9,6,9,2,4,2,2,5,8] , A=[7,4,2,5] , C=1 , 8+8+1=17 , A->7 , C->1 [9,4,9,3] + [1,1,4,9,6,9,2,4,2,2,5] , A=[7,7,4,2,5] , C=1 , 3+5+1=9 , A->9 , C->0 [9,4,9] + [1,1,4,9,6,9,2,4,2,2] , A=[9,7,7,4,2,5] , C=0 , 9+2+0=11 , A->1 , C->1 [9,4] + [1,1,4,9,6,9,2,4,2] , A=[1,9,7,7,4,2,5] , C=1 , 4+2+1=7 , A->7 , C->0 [9] + [1,1,4,9,6,9,2,4] , A=[7,1,9,7,7,4,2,5] , C=0 , 9+4+0=13 , A->3 , C->1 [] + [1,1,4,9,6,9,2] , A=[3,7,1,9,7,7,4,2,5] , C=1 , 0+2+1=3 , A->3 , C->0 [] + [1,1,4,9,6,9] , A=[3,3,7,1,9,7,7,4,2,5] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [1,1,4,9,6] , A=[9,3,3,7,1,9,7,7,4,2,5] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [1,1,4,9] , A=[6,9,3,3,7,1,9,7,7,4,2,5] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [1,1,4] , A=[9,6,9,3,3,7,1,9,7,7,4,2,5] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [1,1] , A=[4,9,6,9,3,3,7,1,9,7,7,4,2,5] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [1] , A=[1,4,9,6,9,3,3,7,1,9,7,7,4,2,5] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [] , A=[1,1,4,9,6,9,3,3,7,1,9,7,7,4,2,5] C=0 , END </scratch> 1149693371977425
1149693371977425
9
Input: 4970318693094584+355577942950097 Target:
Input: 4970318693094584+355577942950097 Target: [4,9,7,0,3,1,8,6,9,3,0,9,4,5,8,4] + [3,5,5,5,7,7,9,4,2,9,5,0,0,9,7] , A=[] , C=0 , 4+7+0=11 , A->1 , C->1 [4,9,7,0,3,1,8,6,9,3,0,9,4,5,8] + [3,5,5,5,7,7,9,4,2,9,5,0,0,9] , A=[1] , C=1 , 8+9+1=18 , A->8 , C->1 [4,9,7,0,3,1,8,6,9,3,0,9,4,5] + [3,5,5,5,7,7,9,4,2,9,5,0,0] , A=[8,1] , C=1 , 5+0+1=6 , A->6 , C->0 [4,9,7,0,3,1,8,6,9,3,0,9,4] + [3,5,5,5,7,7,9,4,2,9,5,0] , A=[6,8,1] , C=0 , 4+0+0=4 , A->4 , C->0 [4,9,7,0,3,1,8,6,9,3,0,9] + [3,5,5,5,7,7,9,4,2,9,5] , A=[4,6,8,1] , C=0 , 9+5+0=14 , A->4 , C->1 [4,9,7,0,3,1,8,6,9,3,0] + [3,5,5,5,7,7,9,4,2,9] , A=[4,4,6,8,1] , C=1 , 0+9+1=10 , A->0 , C->1 [4,9,7,0,3,1,8,6,9,3] + [3,5,5,5,7,7,9,4,2] , A=[0,4,4,6,8,1] , C=1 , 3+2+1=6 , A->6 , C->0 [4,9,7,0,3,1,8,6,9] + [3,5,5,5,7,7,9,4] , A=[6,0,4,4,6,8,1] , C=0 , 9+4+0=13 , A->3 , C->1 [4,9,7,0,3,1,8,6] + [3,5,5,5,7,7,9] , A=[3,6,0,4,4,6,8,1] , C=1 , 6+9+1=16 , A->6 , C->1 [4,9,7,0,3,1,8] + [3,5,5,5,7,7] , A=[6,3,6,0,4,4,6,8,1] , C=1 , 8+7+1=16 , A->6 , C->1 [4,9,7,0,3,1] + [3,5,5,5,7] , A=[6,6,3,6,0,4,4,6,8,1] , C=1 , 1+7+1=9 , A->9 , C->0 [4,9,7,0,3] + [3,5,5,5] , A=[9,6,6,3,6,0,4,4,6,8,1] , C=0 , 3+5+0=8 , A->8 , C->0 [4,9,7,0] + [3,5,5] , A=[8,9,6,6,3,6,0,4,4,6,8,1] , C=0 , 0+5+0=5 , A->5 , C->0 [4,9,7] + [3,5] , A=[5,8,9,6,6,3,6,0,4,4,6,8,1] , C=0 , 7+5+0=12 , A->2 , C->1 [4,9] + [3] , A=[2,5,8,9,6,6,3,6,0,4,4,6,8,1] , C=1 , 9+3+1=13 , A->3 , C->1 [4] + [] , A=[3,2,5,8,9,6,6,3,6,0,4,4,6,8,1] , C=1 , 4+0+1=5 , A->5 , C->0 [] + [] , A=[5,3,2,5,8,9,6,6,3,6,0,4,4,6,8,1] C=0 , END </scratch> 5325896636044681
5325896636044681
15
Input: 3+8223470914772358 Target:
Input: 3+8223470914772358 Target: [3] + [8,2,2,3,4,7,0,9,1,4,7,7,2,3,5,8] , A=[] , C=0 , 3+8+0=11 , A->1 , C->1 [] + [8,2,2,3,4,7,0,9,1,4,7,7,2,3,5] , A=[1] , C=1 , 0+5+1=6 , A->6 , C->0 [] + [8,2,2,3,4,7,0,9,1,4,7,7,2,3] , A=[6,1] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [8,2,2,3,4,7,0,9,1,4,7,7,2] , A=[3,6,1] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [8,2,2,3,4,7,0,9,1,4,7,7] , A=[2,3,6,1] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [8,2,2,3,4,7,0,9,1,4,7] , A=[7,2,3,6,1] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [8,2,2,3,4,7,0,9,1,4] , A=[7,7,2,3,6,1] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [8,2,2,3,4,7,0,9,1] , A=[4,7,7,2,3,6,1] , C=0 , 0+1+0=1 , A->1 , C->0 [] + [8,2,2,3,4,7,0,9] , A=[1,4,7,7,2,3,6,1] , C=0 , 0+9+0=9 , A->9 , C->0 [] + [8,2,2,3,4,7,0] , A=[9,1,4,7,7,2,3,6,1] , C=0 , 0+0+0=0 , A->0 , C->0 [] + [8,2,2,3,4,7] , A=[0,9,1,4,7,7,2,3,6,1] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [8,2,2,3,4] , A=[7,0,9,1,4,7,7,2,3,6,1] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [8,2,2,3] , A=[4,7,0,9,1,4,7,7,2,3,6,1] , C=0 , 0+3+0=3 , A->3 , C->0 [] + [8,2,2] , A=[3,4,7,0,9,1,4,7,7,2,3,6,1] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [8,2] , A=[2,3,4,7,0,9,1,4,7,7,2,3,6,1] , C=0 , 0+2+0=2 , A->2 , C->0 [] + [8] , A=[2,2,3,4,7,0,9,1,4,7,7,2,3,6,1] , C=0 , 0+8+0=8 , A->8 , C->0 [] + [] , A=[8,2,2,3,4,7,0,9,1,4,7,7,2,3,6,1] C=0 , END </scratch> 8223470914772361
8223470914772361
1
Input: 1004074560997612+6123 Target:
Input: 1004074560997612+6123 Target: [1,0,0,4,0,7,4,5,6,0,9,9,7,6,1,2] + [6,1,2,3] , A=[] , C=0 , 2+3+0=5 , A->5 , C->0 [1,0,0,4,0,7,4,5,6,0,9,9,7,6,1] + [6,1,2] , A=[5] , C=0 , 1+2+0=3 , A->3 , C->0 [1,0,0,4,0,7,4,5,6,0,9,9,7,6] + [6,1] , A=[3,5] , C=0 , 6+1+0=7 , A->7 , C->0 [1,0,0,4,0,7,4,5,6,0,9,9,7] + [6] , A=[7,3,5] , C=0 , 7+6+0=13 , A->3 , C->1 [1,0,0,4,0,7,4,5,6,0,9,9] + [] , A=[3,7,3,5] , C=1 , 9+0+1=10 , A->0 , C->1 [1,0,0,4,0,7,4,5,6,0,9] + [] , A=[0,3,7,3,5] , C=1 , 9+0+1=10 , A->0 , C->1 [1,0,0,4,0,7,4,5,6,0] + [] , A=[0,0,3,7,3,5] , C=1 , 0+0+1=1 , A->1 , C->0 [1,0,0,4,0,7,4,5,6] + [] , A=[1,0,0,3,7,3,5] , C=0 , 6+0+0=6 , A->6 , C->0 [1,0,0,4,0,7,4,5] + [] , A=[6,1,0,0,3,7,3,5] , C=0 , 5+0+0=5 , A->5 , C->0 [1,0,0,4,0,7,4] + [] , A=[5,6,1,0,0,3,7,3,5] , C=0 , 4+0+0=4 , A->4 , C->0 [1,0,0,4,0,7] + [] , A=[4,5,6,1,0,0,3,7,3,5] , C=0 , 7+0+0=7 , A->7 , C->0 [1,0,0,4,0] + [] , A=[7,4,5,6,1,0,0,3,7,3,5] , C=0 , 0+0+0=0 , A->0 , C->0 [1,0,0,4] + [] , A=[0,7,4,5,6,1,0,0,3,7,3,5] , C=0 , 4+0+0=4 , A->4 , C->0 [1,0,0] + [] , A=[4,0,7,4,5,6,1,0,0,3,7,3,5] , C=0 , 0+0+0=0 , A->0 , C->0 [1,0] + [] , A=[0,4,0,7,4,5,6,1,0,0,3,7,3,5] , C=0 , 0+0+0=0 , A->0 , C->0 [1] + [] , A=[0,0,4,0,7,4,5,6,1,0,0,3,7,3,5] , C=0 , 1+0+0=1 , A->1 , C->0 [] + [] , A=[1,0,0,4,0,7,4,5,6,1,0,0,3,7,3,5] C=0 , END </scratch> 1004074561003735
1004074561003735
4
Input: 3651008627940195+630 Target:
Input: 3651008627940195+630 Target: [3,6,5,1,0,0,8,6,2,7,9,4,0,1,9,5] + [6,3,0] , A=[] , C=0 , 5+0+0=5 , A->5 , C->0 [3,6,5,1,0,0,8,6,2,7,9,4,0,1,9] + [6,3] , A=[5] , C=0 , 9+3+0=12 , A->2 , C->1 [3,6,5,1,0,0,8,6,2,7,9,4,0,1] + [6] , A=[2,5] , C=1 , 1+6+1=8 , A->8 , C->0 [3,6,5,1,0,0,8,6,2,7,9,4,0] + [] , A=[8,2,5] , C=0 , 0+0+0=0 , A->0 , C->0 [3,6,5,1,0,0,8,6,2,7,9,4] + [] , A=[0,8,2,5] , C=0 , 4+0+0=4 , A->4 , C->0 [3,6,5,1,0,0,8,6,2,7,9] + [] , A=[4,0,8,2,5] , C=0 , 9+0+0=9 , A->9 , C->0 [3,6,5,1,0,0,8,6,2,7] + [] , A=[9,4,0,8,2,5] , C=0 , 7+0+0=7 , A->7 , C->0 [3,6,5,1,0,0,8,6,2] + [] , A=[7,9,4,0,8,2,5] , C=0 , 2+0+0=2 , A->2 , C->0 [3,6,5,1,0,0,8,6] + [] , A=[2,7,9,4,0,8,2,5] , C=0 , 6+0+0=6 , A->6 , C->0 [3,6,5,1,0,0,8] + [] , A=[6,2,7,9,4,0,8,2,5] , C=0 , 8+0+0=8 , A->8 , C->0 [3,6,5,1,0,0] + [] , A=[8,6,2,7,9,4,0,8,2,5] , C=0 , 0+0+0=0 , A->0 , C->0 [3,6,5,1,0] + [] , A=[0,8,6,2,7,9,4,0,8,2,5] , C=0 , 0+0+0=0 , A->0 , C->0 [3,6,5,1] + [] , A=[0,0,8,6,2,7,9,4,0,8,2,5] , C=0 , 1+0+0=1 , A->1 , C->0 [3,6,5] + [] , A=[1,0,0,8,6,2,7,9,4,0,8,2,5] , C=0 , 5+0+0=5 , A->5 , C->0 [3,6] + [] , A=[5,1,0,0,8,6,2,7,9,4,0,8,2,5] , C=0 , 6+0+0=6 , A->6 , C->0 [3] + [] , A=[6,5,1,0,0,8,6,2,7,9,4,0,8,2,5] , C=0 , 3+0+0=3 , A->3 , C->0 [] + [] , A=[3,6,5,1,0,0,8,6,2,7,9,4,0,8,2,5] C=0 , END </scratch> 3651008627940825
3651008627940825
3
Input: 8600442378799348+600221384 Target:
Input: 8600442378799348+600221384 Target: [8,6,0,0,4,4,2,3,7,8,7,9,9,3,4,8] + [6,0,0,2,2,1,3,8,4] , A=[] , C=0 , 8+4+0=12 , A->2 , C->1 [8,6,0,0,4,4,2,3,7,8,7,9,9,3,4] + [6,0,0,2,2,1,3,8] , A=[2] , C=1 , 4+8+1=13 , A->3 , C->1 [8,6,0,0,4,4,2,3,7,8,7,9,9,3] + [6,0,0,2,2,1,3] , A=[3,2] , C=1 , 3+3+1=7 , A->7 , C->0 [8,6,0,0,4,4,2,3,7,8,7,9,9] + [6,0,0,2,2,1] , A=[7,3,2] , C=0 , 9+1+0=10 , A->0 , C->1 [8,6,0,0,4,4,2,3,7,8,7,9] + [6,0,0,2,2] , A=[0,7,3,2] , C=1 , 9+2+1=12 , A->2 , C->1 [8,6,0,0,4,4,2,3,7,8,7] + [6,0,0,2] , A=[2,0,7,3,2] , C=1 , 7+2+1=10 , A->0 , C->1 [8,6,0,0,4,4,2,3,7,8] + [6,0,0] , A=[0,2,0,7,3,2] , C=1 , 8+0+1=9 , A->9 , C->0 [8,6,0,0,4,4,2,3,7] + [6,0] , A=[9,0,2,0,7,3,2] , C=0 , 7+0+0=7 , A->7 , C->0 [8,6,0,0,4,4,2,3] + [6] , A=[7,9,0,2,0,7,3,2] , C=0 , 3+6+0=9 , A->9 , C->0 [8,6,0,0,4,4,2] + [] , A=[9,7,9,0,2,0,7,3,2] , C=0 , 2+0+0=2 , A->2 , C->0 [8,6,0,0,4,4] + [] , A=[2,9,7,9,0,2,0,7,3,2] , C=0 , 4+0+0=4 , A->4 , C->0 [8,6,0,0,4] + [] , A=[4,2,9,7,9,0,2,0,7,3,2] , C=0 , 4+0+0=4 , A->4 , C->0 [8,6,0,0] + [] , A=[4,4,2,9,7,9,0,2,0,7,3,2] , C=0 , 0+0+0=0 , A->0 , C->0 [8,6,0] + [] , A=[0,4,4,2,9,7,9,0,2,0,7,3,2] , C=0 , 0+0+0=0 , A->0 , C->0 [8,6] + [] , A=[0,0,4,4,2,9,7,9,0,2,0,7,3,2] , C=0 , 6+0+0=6 , A->6 , C->0 [8] + [] , A=[6,0,0,4,4,2,9,7,9,0,2,0,7,3,2] , C=0 , 8+0+0=8 , A->8 , C->0 [] + [] , A=[8,6,0,0,4,4,2,9,7,9,0,2,0,7,3,2] C=0 , END </scratch> 8600442979020732
8600442979020732
9
Input: 7060353123658387+548155726589885 Target:
Input: 7060353123658387+548155726589885 Target: [7,0,6,0,3,5,3,1,2,3,6,5,8,3,8,7] + [5,4,8,1,5,5,7,2,6,5,8,9,8,8,5] , A=[] , C=0 , 7+5+0=12 , A->2 , C->1 [7,0,6,0,3,5,3,1,2,3,6,5,8,3,8] + [5,4,8,1,5,5,7,2,6,5,8,9,8,8] , A=[2] , C=1 , 8+8+1=17 , A->7 , C->1 [7,0,6,0,3,5,3,1,2,3,6,5,8,3] + [5,4,8,1,5,5,7,2,6,5,8,9,8] , A=[7,2] , C=1 , 3+8+1=12 , A->2 , C->1 [7,0,6,0,3,5,3,1,2,3,6,5,8] + [5,4,8,1,5,5,7,2,6,5,8,9] , A=[2,7,2] , C=1 , 8+9+1=18 , A->8 , C->1 [7,0,6,0,3,5,3,1,2,3,6,5] + [5,4,8,1,5,5,7,2,6,5,8] , A=[8,2,7,2] , C=1 , 5+8+1=14 , A->4 , C->1 [7,0,6,0,3,5,3,1,2,3,6] + [5,4,8,1,5,5,7,2,6,5] , A=[4,8,2,7,2] , C=1 , 6+5+1=12 , A->2 , C->1 [7,0,6,0,3,5,3,1,2,3] + [5,4,8,1,5,5,7,2,6] , A=[2,4,8,2,7,2] , C=1 , 3+6+1=10 , A->0 , C->1 [7,0,6,0,3,5,3,1,2] + [5,4,8,1,5,5,7,2] , A=[0,2,4,8,2,7,2] , C=1 , 2+2+1=5 , A->5 , C->0 [7,0,6,0,3,5,3,1] + [5,4,8,1,5,5,7] , A=[5,0,2,4,8,2,7,2] , C=0 , 1+7+0=8 , A->8 , C->0 [7,0,6,0,3,5,3] + [5,4,8,1,5,5] , A=[8,5,0,2,4,8,2,7,2] , C=0 , 3+5+0=8 , A->8 , C->0 [7,0,6,0,3,5] + [5,4,8,1,5] , A=[8,8,5,0,2,4,8,2,7,2] , C=0 , 5+5+0=10 , A->0 , C->1 [7,0,6,0,3] + [5,4,8,1] , A=[0,8,8,5,0,2,4,8,2,7,2] , C=1 , 3+1+1=5 , A->5 , C->0 [7,0,6,0] + [5,4,8] , A=[5,0,8,8,5,0,2,4,8,2,7,2] , C=0 , 0+8+0=8 , A->8 , C->0 [7,0,6] + [5,4] , A=[8,5,0,8,8,5,0,2,4,8,2,7,2] , C=0 , 6+4+0=10 , A->0 , C->1 [7,0] + [5] , A=[0,8,5,0,8,8,5,0,2,4,8,2,7,2] , C=1 , 0+5+1=6 , A->6 , C->0 [7] + [] , A=[6,0,8,5,0,8,8,5,0,2,4,8,2,7,2] , C=0 , 7+0+0=7 , A->7 , C->0 [] + [] , A=[7,6,0,8,5,0,8,8,5,0,2,4,8,2,7,2] C=0 , END </scratch> 7608508850248272
7608508850248272
15
Input: 1580403270+7446463768212680 Target:
Input: 1580403270+7446463768212680 Target: [1,5,8,0,4,0,3,2,7,0] + [7,4,4,6,4,6,3,7,6,8,2,1,2,6,8,0] , A=[] , C=0 , 0+0+0=0 , A->0 , C->0 [1,5,8,0,4,0,3,2,7] + [7,4,4,6,4,6,3,7,6,8,2,1,2,6,8] , A=[0] , C=0 , 7+8+0=15 , A->5 , C->1 [1,5,8,0,4,0,3,2] + [7,4,4,6,4,6,3,7,6,8,2,1,2,6] , A=[5,0] , C=1 , 2+6+1=9 , A->9 , C->0 [1,5,8,0,4,0,3] + [7,4,4,6,4,6,3,7,6,8,2,1,2] , A=[9,5,0] , C=0 , 3+2+0=5 , A->5 , C->0 [1,5,8,0,4,0] + [7,4,4,6,4,6,3,7,6,8,2,1] , A=[5,9,5,0] , C=0 , 0+1+0=1 , A->1 , C->0 [1,5,8,0,4] + [7,4,4,6,4,6,3,7,6,8,2] , A=[1,5,9,5,0] , C=0 , 4+2+0=6 , A->6 , C->0 [1,5,8,0] + [7,4,4,6,4,6,3,7,6,8] , A=[6,1,5,9,5,0] , C=0 , 0+8+0=8 , A->8 , C->0 [1,5,8] + [7,4,4,6,4,6,3,7,6] , A=[8,6,1,5,9,5,0] , C=0 , 8+6+0=14 , A->4 , C->1 [1,5] + [7,4,4,6,4,6,3,7] , A=[4,8,6,1,5,9,5,0] , C=1 , 5+7+1=13 , A->3 , C->1 [1] + [7,4,4,6,4,6,3] , A=[3,4,8,6,1,5,9,5,0] , C=1 , 1+3+1=5 , A->5 , C->0 [] + [7,4,4,6,4,6] , A=[5,3,4,8,6,1,5,9,5,0] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [7,4,4,6,4] , A=[6,5,3,4,8,6,1,5,9,5,0] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [7,4,4,6] , A=[4,6,5,3,4,8,6,1,5,9,5,0] , C=0 , 0+6+0=6 , A->6 , C->0 [] + [7,4,4] , A=[6,4,6,5,3,4,8,6,1,5,9,5,0] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [7,4] , A=[4,6,4,6,5,3,4,8,6,1,5,9,5,0] , C=0 , 0+4+0=4 , A->4 , C->0 [] + [7] , A=[4,4,6,4,6,5,3,4,8,6,1,5,9,5,0] , C=0 , 0+7+0=7 , A->7 , C->0 [] + [] , A=[7,4,4,6,4,6,5,3,4,8,6,1,5,9,5,0] C=0 , END </scratch> 7446465348615950
7446465348615950
10
Input: 1421906216259800+49160782169196 Target:
Input: 1421906216259800+49160782169196 Target: [1,4,2,1,9,0,6,2,1,6,2,5,9,8,0,0] + [4,9,1,6,0,7,8,2,1,6,9,1,9,6] , A=[] , C=0 , 0+6+0=6 , A->6 , C->0 [1,4,2,1,9,0,6,2,1,6,2,5,9,8,0] + [4,9,1,6,0,7,8,2,1,6,9,1,9] , A=[6] , C=0 , 0+9+0=9 , A->9 , C->0 [1,4,2,1,9,0,6,2,1,6,2,5,9,8] + [4,9,1,6,0,7,8,2,1,6,9,1] , A=[9,6] , C=0 , 8+1+0=9 , A->9 , C->0 [1,4,2,1,9,0,6,2,1,6,2,5,9] + [4,9,1,6,0,7,8,2,1,6,9] , A=[9,9,6] , C=0 , 9+9+0=18 , A->8 , C->1 [1,4,2,1,9,0,6,2,1,6,2,5] + [4,9,1,6,0,7,8,2,1,6] , A=[8,9,9,6] , C=1 , 5+6+1=12 , A->2 , C->1 [1,4,2,1,9,0,6,2,1,6,2] + [4,9,1,6,0,7,8,2,1] , A=[2,8,9,9,6] , C=1 , 2+1+1=4 , A->4 , C->0 [1,4,2,1,9,0,6,2,1,6] + [4,9,1,6,0,7,8,2] , A=[4,2,8,9,9,6] , C=0 , 6+2+0=8 , A->8 , C->0 [1,4,2,1,9,0,6,2,1] + [4,9,1,6,0,7,8] , A=[8,4,2,8,9,9,6] , C=0 , 1+8+0=9 , A->9 , C->0 [1,4,2,1,9,0,6,2] + [4,9,1,6,0,7] , A=[9,8,4,2,8,9,9,6] , C=0 , 2+7+0=9 , A->9 , C->0 [1,4,2,1,9,0,6] + [4,9,1,6,0] , A=[9,9,8,4,2,8,9,9,6] , C=0 , 6+0+0=6 , A->6 , C->0 [1,4,2,1,9,0] + [4,9,1,6] , A=[6,9,9,8,4,2,8,9,9,6] , C=0 , 0+6+0=6 , A->6 , C->0 [1,4,2,1,9] + [4,9,1] , A=[6,6,9,9,8,4,2,8,9,9,6] , C=0 , 9+1+0=10 , A->0 , C->1 [1,4,2,1] + [4,9] , A=[0,6,6,9,9,8,4,2,8,9,9,6] , C=1 , 1+9+1=11 , A->1 , C->1 [1,4,2] + [4] , A=[1,0,6,6,9,9,8,4,2,8,9,9,6] , C=1 , 2+4+1=7 , A->7 , C->0 [1,4] + [] , A=[7,1,0,6,6,9,9,8,4,2,8,9,9,6] , C=0 , 4+0+0=4 , A->4 , C->0 [1] + [] , A=[4,7,1,0,6,6,9,9,8,4,2,8,9,9,6] , C=0 , 1+0+0=1 , A->1 , C->0 [] + [] , A=[1,4,7,1,0,6,6,9,9,8,4,2,8,9,9,6] C=0 , END </scratch> 1471066998428996
1471066998428996
14
Input: 3731588552028700+568587907 Target:
Input: 3731588552028700+568587907 Target: [3,7,3,1,5,8,8,5,5,2,0,2,8,7,0,0] + [5,6,8,5,8,7,9,0,7] , A=[] , C=0 , 0+7+0=7 , A->7 , C->0 [3,7,3,1,5,8,8,5,5,2,0,2,8,7,0] + [5,6,8,5,8,7,9,0] , A=[7] , C=0 , 0+0+0=0 , A->0 , C->0 [3,7,3,1,5,8,8,5,5,2,0,2,8,7] + [5,6,8,5,8,7,9] , A=[0,7] , C=0 , 7+9+0=16 , A->6 , C->1 [3,7,3,1,5,8,8,5,5,2,0,2,8] + [5,6,8,5,8,7] , A=[6,0,7] , C=1 , 8+7+1=16 , A->6 , C->1 [3,7,3,1,5,8,8,5,5,2,0,2] + [5,6,8,5,8] , A=[6,6,0,7] , C=1 , 2+8+1=11 , A->1 , C->1 [3,7,3,1,5,8,8,5,5,2,0] + [5,6,8,5] , A=[1,6,6,0,7] , C=1 , 0+5+1=6 , A->6 , C->0 [3,7,3,1,5,8,8,5,5,2] + [5,6,8] , A=[6,1,6,6,0,7] , C=0 , 2+8+0=10 , A->0 , C->1 [3,7,3,1,5,8,8,5,5] + [5,6] , A=[0,6,1,6,6,0,7] , C=1 , 5+6+1=12 , A->2 , C->1 [3,7,3,1,5,8,8,5] + [5] , A=[2,0,6,1,6,6,0,7] , C=1 , 5+5+1=11 , A->1 , C->1 [3,7,3,1,5,8,8] + [] , A=[1,2,0,6,1,6,6,0,7] , C=1 , 8+0+1=9 , A->9 , C->0 [3,7,3,1,5,8] + [] , A=[9,1,2,0,6,1,6,6,0,7] , C=0 , 8+0+0=8 , A->8 , C->0 [3,7,3,1,5] + [] , A=[8,9,1,2,0,6,1,6,6,0,7] , C=0 , 5+0+0=5 , A->5 , C->0 [3,7,3,1] + [] , A=[5,8,9,1,2,0,6,1,6,6,0,7] , C=0 , 1+0+0=1 , A->1 , C->0 [3,7,3] + [] , A=[1,5,8,9,1,2,0,6,1,6,6,0,7] , C=0 , 3+0+0=3 , A->3 , C->0 [3,7] + [] , A=[3,1,5,8,9,1,2,0,6,1,6,6,0,7] , C=0 , 7+0+0=7 , A->7 , C->0 [3] + [] , A=[7,3,1,5,8,9,1,2,0,6,1,6,6,0,7] , C=0 , 3+0+0=3 , A->3 , C->0 [] + [] , A=[3,7,3,1,5,8,9,1,2,0,6,1,6,6,0,7] C=0 , END </scratch> 3731589120616607
3731589120616607
9