input
stringlengths 41
91
| io_out
sequence | output_masked
stringlengths 39
81
| output
stringlengths 41
100
| io_inp
sequence |
---|---|---|---|---|
input : list = [4, -3, 4]
output : list = [-40] | [
-40
] | generated_output : list = mul_n(sort_asc(reverse(mul_n(take(input,1),5))),-2) | generated_output : list = mul_n(sort_asc(reverse(mul_n(take([4, -3, 4],1),5))),-2) | [
4,
-3,
4
] |
input : list = [-4, 3, 3, -3, -4]
output : list = [-55, -55, -45, 15, 15] | [
-55,
-55,
-45,
15,
15
] | generated_output : list = mul_n(sort_asc(sub_n(sort_des(mul_n(input,2)),3)),5) | generated_output : list = mul_n(sort_asc(sub_n(sort_des(mul_n([-4, 3, 3, -3, -4],2)),3)),5) | [
-4,
3,
3,
-3,
-4
] |
input : list = [-1, -3]
output : list = [-5] | [
-5
] | generated_output : list = sub_n(reverse(drop(sort_asc(sub_n(input,-1)),1)),5) | generated_output : list = sub_n(reverse(drop(sort_asc(sub_n([-1, -3],-1)),1)),5) | [
-1,
-3
] |
input : list = [1, 1, -3, -5]
output : list = [15, 9, -3, -3] | [
15,
9,
-3,
-3
] | generated_output : list = sort_des(reverse(sort_asc(reverse(mul_n(input,-3))))) | generated_output : list = sort_des(reverse(sort_asc(reverse(mul_n([1, 1, -3, -5],-3))))) | [
1,
1,
-3,
-5
] |
input : list = [-5, 5, 3, -3, 4]
output : list = [11, -9] | [
11,
-9
] | generated_output : list = take(sort_des(add_n(mul_n(take(input,2),-2),1)),33) | generated_output : list = take(sort_des(add_n(mul_n(take([-5, 5, 3, -3, 4],2),-2),1)),33) | [
-5,
5,
3,
-3,
4
] |
input : list = [1, 5, -2]
output : list = [10, 6, 3] | [
10,
6,
3
] | generated_output : list = sub_n(take(sort_des(input),11),-5) | generated_output : list = sub_n(take(sort_des([1, 5, -2]),11),-5) | [
1,
5,
-2
] |
input : list = [-2, 3, -4, -5, 2]
output : list = [2, 7, 0, -1, 6] | [
2,
7,
0,
-1,
6
] | generated_output : list = reverse(reverse(add_n(input,4))) | generated_output : list = reverse(reverse(add_n([-2, 3, -4, -5, 2],4))) | [
-2,
3,
-4,
-5,
2
] |
input : list = [3, 2, 5, 4]
output : list = [-4, -3] | [
-4,
-3
] | generated_output : list = add_n(sort_asc(add_n(take(drop(input,2),14),-3)),-5) | generated_output : list = add_n(sort_asc(add_n(take(drop([3, 2, 5, 4],2),14),-3)),-5) | [
3,
2,
5,
4
] |
input : list = [-5, -2, 4]
output : list = [-6, -3, 3] | [
-6,
-3,
3
] | generated_output : list = sub_n(sort_asc(add_n(sort_des(sort_des(input)),-4)),-3) | generated_output : list = sub_n(sort_asc(add_n(sort_des(sort_des([-5, -2, 4])),-4)),-3) | [
-5,
-2,
4
] |
input : list = [-4, 4, -3, -4, 5, -1]
output : list = [12, 12, 9, 3, -12, -15] | [
12,
12,
9,
3,
-12,
-15
] | generated_output : list = take(mul_n(reverse(take(sort_des(input),22)),-3),40) | generated_output : list = take(mul_n(reverse(take(sort_des([-4, 4, -3, -4, 5, -1]),22)),-3),40) | [
-4,
4,
-3,
-4,
5,
-1
] |
input : list = [5, 1, -3, -3, -1]
output : list = [6, 6, -2, -10, -26] | [
6,
6,
-2,
-10,
-26
] | generated_output : list = sub_n(take(mul_n(sort_asc(add_n(input,1)),-4),10),2) | generated_output : list = sub_n(take(mul_n(sort_asc(add_n([5, 1, -3, -3, -1],1)),-4),10),2) | [
5,
1,
-3,
-3,
-1
] |
input : list = [-1, 1, 0, 2]
output : list = [-1, 1, 0, 2] | [
-1,
1,
0,
2
] | generated_output : list = reverse(reverse(input)) | generated_output : list = reverse(reverse([-1, 1, 0, 2])) | [
-1,
1,
0,
2
] |
input : list = [-3, 4]
output : list = [0, 7] | [
0,
7
] | generated_output : list = mul_n(add_n(sort_asc(take(sort_asc(input),15)),3),1) | generated_output : list = mul_n(add_n(sort_asc(take(sort_asc([-3, 4]),15)),3),1) | [
-3,
4
] |
input : list = [-1, 2, -1]
output : list = [-5] | [
-5
] | generated_output : list = sort_des(mul_n(take(input,1),5)) | generated_output : list = sort_des(mul_n(take([-1, 2, -1],1),5)) | [
-1,
2,
-1
] |
input : list = [5, 0, -4, 5, 0, -1]
output : list = [0, 5] | [
0,
5
] | generated_output : list = reverse(take(take(input,2),22)) | generated_output : list = reverse(take(take([5, 0, -4, 5, 0, -1],2),22)) | [
5,
0,
-4,
5,
0,
-1
] |
input : list = [-2, -4]
output : list = [18, 22] | [
18,
22
] | generated_output : list = take(mul_n(sub_n(sub_n(sort_des(input),2),5),-2),38) | generated_output : list = take(mul_n(sub_n(sub_n(sort_des([-2, -4]),2),5),-2),38) | [
-2,
-4
] |
input : list = [-2, 3, 1, 3]
output : list = [-28, -8] | [
-28,
-8
] | generated_output : list = reverse(take(mul_n(add_n(take(input,2),4),-4),5)) | generated_output : list = reverse(take(mul_n(add_n(take([-2, 3, 1, 3],2),4),-4),5)) | [
-2,
3,
1,
3
] |
input : list = [-1, 2]
output : list = [-10, -7] | [
-10,
-7
] | generated_output : list = sub_n(sub_n(reverse(sub_n(reverse(input),-1)),5),5) | generated_output : list = sub_n(sub_n(reverse(sub_n(reverse([-1, 2]),-1)),5),5) | [
-1,
2
] |
input : list = [-5, 5, 0]
output : list = [0, 15, 30] | [
0,
15,
30
] | generated_output : list = mul_n(sub_n(sort_asc(input),-5),3) | generated_output : list = mul_n(sub_n(sort_asc([-5, 5, 0]),-5),3) | [
-5,
5,
0
] |
input : list = [-5, 3, 5, 2, 0, -4]
output : list = [-5, -4, 0, 2, 3, 5] | [
-5,
-4,
0,
2,
3,
5
] | generated_output : list = sort_asc(reverse(sub_n(sub_n(add_n(input,5),1),4))) | generated_output : list = sort_asc(reverse(sub_n(sub_n(add_n([-5, 3, 5, 2, 0, -4],5),1),4))) | [
-5,
3,
5,
2,
0,
-4
] |
input : list = [-2, 3, 4, 1, 1]
output : list = [24, -12, -12, -36, -48] | [
24,
-12,
-12,
-36,
-48
] | generated_output : list = take(mul_n(sort_des(mul_n(input,-3)),4),42) | generated_output : list = take(mul_n(sort_des(mul_n([-2, 3, 4, 1, 1],-3)),4),42) | [
-2,
3,
4,
1,
1
] |
input : list = [0, -5, 0, -2, -3]
output : list = [-5, -3, -2, 0, 0] | [
-5,
-3,
-2,
0,
0
] | generated_output : list = sort_asc(sort_des(input)) | generated_output : list = sort_asc(sort_des([0, -5, 0, -2, -3])) | [
0,
-5,
0,
-2,
-3
] |
input : list = [3, -2, -1, -1, 4, 0]
output : list = [2, -3, -2, -2, 3, -1] | [
2,
-3,
-2,
-2,
3,
-1
] | generated_output : list = take(sub_n(input,1),26) | generated_output : list = take(sub_n([3, -2, -1, -1, 4, 0],1),26) | [
3,
-2,
-1,
-1,
4,
0
] |
input : list = [4, 0]
output : list = [0, 4] | [
0,
4
] | generated_output : list = reverse(input) | generated_output : list = reverse([4, 0]) | [
4,
0
] |
input : list = [4, -5]
output : list = [300, -240] | [
300,
-240
] | generated_output : list = mul_n(mul_n(reverse(mul_n(mul_n(input,4),-1)),5),3) | generated_output : list = mul_n(mul_n(reverse(mul_n(mul_n([4, -5],4),-1)),5),3) | [
4,
-5
] |
input : list = [3, 5, -2, 2, 0, -5]
output : list = [-25, -10, 0, 10, 15, 25] | [
-25,
-10,
0,
10,
15,
25
] | generated_output : list = take(mul_n(reverse(sort_des(sort_asc(input))),5),41) | generated_output : list = take(mul_n(reverse(sort_des(sort_asc([3, 5, -2, 2, 0, -5]))),5),41) | [
3,
5,
-2,
2,
0,
-5
] |
input : list = [-1, -1, -3, 3, -5, -1]
output : list = [-5, -3, -1, -1, -1, 3] | [
-5,
-3,
-1,
-1,
-1,
3
] | generated_output : list = take(sort_asc(take(sort_des(input),16)),36) | generated_output : list = take(sort_asc(take(sort_des([-1, -1, -3, 3, -5, -1]),16)),36) | [
-1,
-1,
-3,
3,
-5,
-1
] |
input : list = [1, -5, -1, -2, 3, 2]
output : list = [0, -1, -2, -4, -5, -8] | [
0,
-1,
-2,
-4,
-5,
-8
] | generated_output : list = take(sort_des(sub_n(sub_n(add_n(input,4),3),4)),35) | generated_output : list = take(sort_des(sub_n(sub_n(add_n([1, -5, -1, -2, 3, 2],4),3),4)),35) | [
1,
-5,
-1,
-2,
3,
2
] |
input : list = [-2, -4, -4, 3, 0]
output : list = [-4, -4, 0, 3] | [
-4,
-4,
0,
3
] | generated_output : list = sort_asc(sort_asc(reverse(sort_des(drop(input,1))))) | generated_output : list = sort_asc(sort_asc(reverse(sort_des(drop([-2, -4, -4, 3, 0],1))))) | [
-2,
-4,
-4,
3,
0
] |
input : list = [4, 4, -5]
output : list = [4, 4, -5] | [
4,
4,
-5
] | generated_output : list = sort_des(input) | generated_output : list = sort_des([4, 4, -5]) | [
4,
4,
-5
] |
input : list = [5, 5]
output : list = [5, 5] | [
5,
5
] | generated_output : list = sort_des(mul_n(input,1)) | generated_output : list = sort_des(mul_n([5, 5],1)) | [
5,
5
] |
input : list = [0, 3, -4, 4, -4, 4]
output : list = [-9, -9, -5, -2, -1, -1] | [
-9,
-9,
-5,
-2,
-1,
-1
] | generated_output : list = sort_asc(sub_n(take(sort_asc(sub_n(input,4)),19),1)) | generated_output : list = sort_asc(sub_n(take(sort_asc(sub_n([0, 3, -4, 4, -4, 4],4)),19),1)) | [
0,
3,
-4,
4,
-4,
4
] |
input : list = [1, 0, 5]
output : list = [1] | [
1
] | generated_output : list = sort_asc(take(input,1)) | generated_output : list = sort_asc(take([1, 0, 5],1)) | [
1,
0,
5
] |
input : list = [0, 5, 5, -4]
output : list = [0, 5, 5, -4] | [
0,
5,
5,
-4
] | generated_output : list = take(reverse(reverse(reverse(reverse(input)))),5) | generated_output : list = take(reverse(reverse(reverse(reverse([0, 5, 5, -4])))),5) | [
0,
5,
5,
-4
] |
input : list = [-5, -4, 1, -1, 5, -1]
output : list = [1] | [
1
] | generated_output : list = mul_n(add_n(sub_n(reverse(take(input,1)),-3),1),-1) | generated_output : list = mul_n(add_n(sub_n(reverse(take([-5, -4, 1, -1, 5, -1],1)),-3),1),-1) | [
-5,
-4,
1,
-1,
5,
-1
] |
input : list = [-4, -2, 1, -4, 5]
output : list = [-1, -5, -8, -10, -10] | [
-1,
-5,
-8,
-10,
-10
] | generated_output : list = sub_n(sort_des(sort_des(take(sub_n(input,3),16))),3) | generated_output : list = sub_n(sort_des(sort_des(take(sub_n([-4, -2, 1, -4, 5],3),16))),3) | [
-4,
-2,
1,
-4,
5
] |
input : list = [2, 1, 2]
output : list = [1, 2, 2] | [
1,
2,
2
] | generated_output : list = sort_asc(take(reverse(input),10)) | generated_output : list = sort_asc(take(reverse([2, 1, 2]),10)) | [
2,
1,
2
] |
input : list = [5, 4, 5, 2, 0]
output : list = [6, 6, 5, 3, 1] | [
6,
6,
5,
3,
1
] | generated_output : list = reverse(sort_asc(sub_n(sub_n(sort_asc(input),-2),1))) | generated_output : list = reverse(sort_asc(sub_n(sub_n(sort_asc([5, 4, 5, 2, 0]),-2),1))) | [
5,
4,
5,
2,
0
] |
input : list = [1, -4, 5, -5]
output : list = [-18, 2, -16] | [
-18,
2,
-16
] | generated_output : list = mul_n(add_n(mul_n(take(reverse(input),3),1),-4),2) | generated_output : list = mul_n(add_n(mul_n(take(reverse([1, -4, 5, -5]),3),1),-4),2) | [
1,
-4,
5,
-5
] |
input : list = [-3, -3, -4, -5, 4]
output : list = [-10, 4, 4, 6, 8] | [
-10,
4,
4,
6,
8
] | generated_output : list = mul_n(sort_des(sub_n(sort_des(add_n(input,4)),3)),-2) | generated_output : list = mul_n(sort_des(sub_n(sort_des(add_n([-3, -3, -4, -5, 4],4)),3)),-2) | [
-3,
-3,
-4,
-5,
4
] |
input : list = [-1, 0, 2, -1]
output : list = [24, 20, 12, 24] | [
24,
20,
12,
24
] | generated_output : list = mul_n(add_n(input,-5),-4) | generated_output : list = mul_n(add_n([-1, 0, 2, -1],-5),-4) | [
-1,
0,
2,
-1
] |
input : list = [4, 1, 1, 2]
output : list = [4, 1] | [
4,
1
] | generated_output : list = take(take(take(input,2),9),5) | generated_output : list = take(take(take([4, 1, 1, 2],2),9),5) | [
4,
1,
1,
2
] |
input : list = [-1, -2, -2, 0, -5]
output : list = [4, 0, -4, -4, -16] | [
4,
0,
-4,
-4,
-16
] | generated_output : list = reverse(take(sub_n(sort_asc(mul_n(input,4)),-4),20)) | generated_output : list = reverse(take(sub_n(sort_asc(mul_n([-1, -2, -2, 0, -5],4)),-4),20)) | [
-1,
-2,
-2,
0,
-5
] |
input : list = [-5, -3, 4, 3]
output : list = [-5, -3, 3, 4] | [
-5,
-3,
3,
4
] | generated_output : list = reverse(take(sort_des(input),18)) | generated_output : list = reverse(take(sort_des([-5, -3, 4, 3]),18)) | [
-5,
-3,
4,
3
] |
input : list = [1, -2, 1]
output : list = [5, 2, 5] | [
5,
2,
5
] | generated_output : list = add_n(sub_n(take(sub_n(sub_n(input,5),-3),20),-5),1) | generated_output : list = add_n(sub_n(take(sub_n(sub_n([1, -2, 1],5),-3),20),-5),1) | [
1,
-2,
1
] |
input : list = [-2, -5, 3]
output : list = [3, -2, -5] | [
3,
-2,
-5
] | generated_output : list = reverse(sort_asc(input)) | generated_output : list = reverse(sort_asc([-2, -5, 3])) | [
-2,
-5,
3
] |
input : list = [-3, -3, -2]
output : list = [3, 4, 4] | [
3,
4,
4
] | generated_output : list = sort_asc(add_n(mul_n(reverse(mul_n(input,-1)),1),1)) | generated_output : list = sort_asc(add_n(mul_n(reverse(mul_n([-3, -3, -2],-1)),1),1)) | [
-3,
-3,
-2
] |
input : list = [-2, -4, 2]
output : list = [3, -1, -3] | [
3,
-1,
-3
] | generated_output : list = sort_des(add_n(add_n(sort_des(input),5),-4)) | generated_output : list = sort_des(add_n(add_n(sort_des([-2, -4, 2]),5),-4)) | [
-2,
-4,
2
] |
input : list = [-4, -4, -4, -3, -4]
output : list = [-48, -36] | [
-48,
-36
] | generated_output : list = sort_asc(sort_asc(mul_n(mul_n(drop(input,3),4),3))) | generated_output : list = sort_asc(sort_asc(mul_n(mul_n(drop([-4, -4, -4, -3, -4],3),4),3))) | [
-4,
-4,
-4,
-3,
-4
] |
input : list = [0, 4, -1, -5, -5]
output : list = [-6, -6, -2, -1, 3] | [
-6,
-6,
-2,
-1,
3
] | generated_output : list = sort_asc(sub_n(reverse(input),1)) | generated_output : list = sort_asc(sub_n(reverse([0, 4, -1, -5, -5]),1)) | [
0,
4,
-1,
-5,
-5
] |
input : list = [5, 3, -4, 2]
output : list = [0, 6, 7, 9] | [
0,
6,
7,
9
] | generated_output : list = reverse(sort_des(sub_n(sort_des(sort_des(input)),-4))) | generated_output : list = reverse(sort_des(sub_n(sort_des(sort_des([5, 3, -4, 2])),-4))) | [
5,
3,
-4,
2
] |
input : list = [0, 0, 3, 5, 1]
output : list = [0, 0, -4, -12, -20] | [
0,
0,
-4,
-12,
-20
] | generated_output : list = reverse(mul_n(sort_des(input),-4)) | generated_output : list = reverse(mul_n(sort_des([0, 0, 3, 5, 1]),-4)) | [
0,
0,
3,
5,
1
] |
input : list = [5, -2, 1]
output : list = [5] | [
5
] | generated_output : list = take(input,1) | generated_output : list = take([5, -2, 1],1) | [
5,
-2,
1
] |
input : list = [1, 2]
output : list = [4, 3] | [
4,
3
] | generated_output : list = reverse(take(reverse(sort_des(sub_n(input,-2))),2)) | generated_output : list = reverse(take(reverse(sort_des(sub_n([1, 2],-2))),2)) | [
1,
2
] |
input : list = [-4, -2]
output : list = [-2, -4] | [
-2,
-4
] | generated_output : list = sort_des(input) | generated_output : list = sort_des([-4, -2]) | [
-4,
-2
] |
input : list = [-3, -5, -2, 5]
output : list = [-5, -3, -2, 5] | [
-5,
-3,
-2,
5
] | generated_output : list = reverse(sort_des(sub_n(reverse(add_n(input,4)),4))) | generated_output : list = reverse(sort_des(sub_n(reverse(add_n([-3, -5, -2, 5],4)),4))) | [
-3,
-5,
-2,
5
] |
input : list = [4, 5, 1]
output : list = [20, 35, 40] | [
20,
35,
40
] | generated_output : list = mul_n(add_n(sort_asc(sort_des(sort_asc(input))),3),5) | generated_output : list = mul_n(add_n(sort_asc(sort_des(sort_asc([4, 5, 1]))),3),5) | [
4,
5,
1
] |
input : list = [-4, -2]
output : list = [-2, -4] | [
-2,
-4
] | generated_output : list = sort_des(add_n(add_n(input,-5),5)) | generated_output : list = sort_des(add_n(add_n([-4, -2],-5),5)) | [
-4,
-2
] |
input : list = [-2, 0, 3, -5, 2]
output : list = [-3, -1, 2, -6, 1] | [
-3,
-1,
2,
-6,
1
] | generated_output : list = sub_n(sub_n(take(sub_n(add_n(input,-4),-2),30),-4),3) | generated_output : list = sub_n(sub_n(take(sub_n(add_n([-2, 0, 3, -5, 2],-4),-2),30),-4),3) | [
-2,
0,
3,
-5,
2
] |
input : list = [5, 2, -5, -1, 4]
output : list = [27, 12, -23, -3, 22] | [
27,
12,
-23,
-3,
22
] | generated_output : list = add_n(mul_n(input,5),2) | generated_output : list = add_n(mul_n([5, 2, -5, -1, 4],5),2) | [
5,
2,
-5,
-1,
4
] |
input : list = [-3, 1, 5, -5]
output : list = [23, -1] | [
23,
-1
] | generated_output : list = add_n(sort_des(mul_n(take(mul_n(input,2),2),-3)),5) | generated_output : list = add_n(sort_des(mul_n(take(mul_n([-3, 1, 5, -5],2),2),-3)),5) | [
-3,
1,
5,
-5
] |
input : list = [3, -5, -3, 3, 0, 5]
output : list = [5, -3, -1, 5, 2, 7] | [
5,
-3,
-1,
5,
2,
7
] | generated_output : list = take(add_n(sub_n(input,-3),-1),24) | generated_output : list = take(add_n(sub_n([3, -5, -3, 3, 0, 5],-3),-1),24) | [
3,
-5,
-3,
3,
0,
5
] |
input : list = [2, 4, -4]
output : list = [-18, 14, 6] | [
-18,
14,
6
] | generated_output : list = sub_n(add_n(add_n(mul_n(reverse(input),4),2),-2),2) | generated_output : list = sub_n(add_n(add_n(mul_n(reverse([2, 4, -4]),4),2),-2),2) | [
2,
4,
-4
] |
input : list = [-1, -4, 2, 4, -3]
output : list = [3, 1, -3, -9, -13] | [
3,
1,
-3,
-9,
-13
] | generated_output : list = sort_des(take(add_n(take(mul_n(input,-2),26),-5),16)) | generated_output : list = sort_des(take(add_n(take(mul_n([-1, -4, 2, 4, -3],-2),26),-5),16)) | [
-1,
-4,
2,
4,
-3
] |
input : list = [4, 5, 5]
output : list = [12, 13, 13] | [
12,
13,
13
] | generated_output : list = reverse(sub_n(sort_des(add_n(reverse(input),4)),-4)) | generated_output : list = reverse(sub_n(sort_des(add_n(reverse([4, 5, 5]),4)),-4)) | [
4,
5,
5
] |
input : list = [-3, 1]
output : list = [-15, -11] | [
-15,
-11
] | generated_output : list = sub_n(add_n(sub_n(input,5),-2),5) | generated_output : list = sub_n(add_n(sub_n([-3, 1],5),-2),5) | [
-3,
1
] |
input : list = [2, 1, 1, 2, -1, 0]
output : list = [2, 1, 1, 2] | [
2,
1,
1,
2
] | generated_output : list = take(input,4) | generated_output : list = take([2, 1, 1, 2, -1, 0],4) | [
2,
1,
1,
2,
-1,
0
] |
input : list = [4, -3]
output : list = [15, -20] | [
15,
-20
] | generated_output : list = mul_n(mul_n(take(take(reverse(input),6),16),5),-1) | generated_output : list = mul_n(mul_n(take(take(reverse([4, -3]),6),16),5),-1) | [
4,
-3
] |
input : list = [-1, 5, 1, -4, 5]
output : list = [11, -16, -1, 11, -7] | [
11,
-16,
-1,
11,
-7
] | generated_output : list = sub_n(sub_n(reverse(sub_n(mul_n(input,3),3)),2),-1) | generated_output : list = sub_n(sub_n(reverse(sub_n(mul_n([-1, 5, 1, -4, 5],3),3)),2),-1) | [
-1,
5,
1,
-4,
5
] |
input : list = [-5, 3, -4, 5, -1]
output : list = [-9, -8, -5, -1, 1] | [
-9,
-8,
-5,
-1,
1
] | generated_output : list = sort_asc(sort_des(take(add_n(sort_des(input),-4),8))) | generated_output : list = sort_asc(sort_des(take(add_n(sort_des([-5, 3, -4, 5, -1]),-4),8))) | [
-5,
3,
-4,
5,
-1
] |
input : list = [0, -4, -5]
output : list = [-1, -5, -6] | [
-1,
-5,
-6
] | generated_output : list = add_n(input,-1) | generated_output : list = add_n([0, -4, -5],-1) | [
0,
-4,
-5
] |
input : list = [-4, -3, -1, 3, 4, 1]
output : list = [3, 4, 6, 8, 10, 11] | [
3,
4,
6,
8,
10,
11
] | generated_output : list = sort_asc(sort_asc(sub_n(add_n(add_n(input,3),5),1))) | generated_output : list = sort_asc(sort_asc(sub_n(add_n(add_n([-4, -3, -1, 3, 4, 1],3),5),1))) | [
-4,
-3,
-1,
3,
4,
1
] |
input : list = [2, 2, 2]
output : list = [-8, -8] | [
-8,
-8
] | generated_output : list = mul_n(reverse(drop(input,1)),-4) | generated_output : list = mul_n(reverse(drop([2, 2, 2],1)),-4) | [
2,
2,
2
] |
input : list = [1, 3, 0, 5]
output : list = [-20, 5, -10, 0] | [
-20,
5,
-10,
0
] | generated_output : list = reverse(mul_n(take(take(add_n(input,-1),10),19),-5)) | generated_output : list = reverse(mul_n(take(take(add_n([1, 3, 0, 5],-1),10),19),-5)) | [
1,
3,
0,
5
] |
input : list = [2, 3, -5, 1, -5]
output : list = [-4, -3, -2, 4, 4] | [
-4,
-3,
-2,
4,
4
] | generated_output : list = add_n(sort_asc(add_n(mul_n(sort_des(input),-1),3)),-4) | generated_output : list = add_n(sort_asc(add_n(mul_n(sort_des([2, 3, -5, 1, -5]),-1),3)),-4) | [
2,
3,
-5,
1,
-5
] |
input : list = [1, -2, -4, 2, 1, 3]
output : list = [6, 4, 1, 1] | [
6,
4,
1,
1
] | generated_output : list = sort_des(take(mul_n(sub_n(sort_asc(input),2),-1),4)) | generated_output : list = sort_des(take(mul_n(sub_n(sort_asc([1, -2, -4, 2, 1, 3]),2),-1),4)) | [
1,
-2,
-4,
2,
1,
3
] |
input : list = [-5, 3, 0]
output : list = [-7, 1, -2] | [
-7,
1,
-2
] | generated_output : list = add_n(add_n(sub_n(add_n(sub_n(input,-3),-3),3),3),-2) | generated_output : list = add_n(add_n(sub_n(add_n(sub_n([-5, 3, 0],-3),-3),3),3),-2) | [
-5,
3,
0
] |
input : list = [-1, -2]
output : list = [-5] | [
-5
] | generated_output : list = sort_des(sub_n(take(reverse(add_n(input,-5)),1),-2)) | generated_output : list = sort_des(sub_n(take(reverse(add_n([-1, -2],-5)),1),-2)) | [
-1,
-2
] |
input : list = [-5, -4, 4, -4, 2]
output : list = [4, 2, -4, -4, -5] | [
4,
2,
-4,
-4,
-5
] | generated_output : list = sort_des(input) | generated_output : list = sort_des([-5, -4, 4, -4, 2]) | [
-5,
-4,
4,
-4,
2
] |
input : list = [-1, -5, 2, 2]
output : list = [-5, 2, 2] | [
-5,
2,
2
] | generated_output : list = sort_asc(sort_des(mul_n(sort_des(drop(input,1)),1))) | generated_output : list = sort_asc(sort_des(mul_n(sort_des(drop([-1, -5, 2, 2],1)),1))) | [
-1,
-5,
2,
2
] |
input : list = [-2, -3, -3, 1, -2]
output : list = [1, -2, -2, -3, -3] | [
1,
-2,
-2,
-3,
-3
] | generated_output : list = take(sort_des(input),27) | generated_output : list = take(sort_des([-2, -3, -3, 1, -2]),27) | [
-2,
-3,
-3,
1,
-2
] |
input : list = [-1, -1, -4, 3]
output : list = [12, -4, -4, -16] | [
12,
-4,
-4,
-16
] | generated_output : list = sort_des(mul_n(input,4)) | generated_output : list = sort_des(mul_n([-1, -1, -4, 3],4)) | [
-1,
-1,
-4,
3
] |
input : list = [3, -2]
output : list = [35] | [
35
] | generated_output : list = take(take(mul_n(reverse(add_n(input,-5)),-5),1),33) | generated_output : list = take(take(mul_n(reverse(add_n([3, -2],-5)),-5),1),33) | [
3,
-2
] |
input : list = [1, -5, 1, -2, -2, 3]
output : list = [-2, -20, -2, -11, -11, 4] | [
-2,
-20,
-2,
-11,
-11,
4
] | generated_output : list = sub_n(take(mul_n(input,3),11),5) | generated_output : list = sub_n(take(mul_n([1, -5, 1, -2, -2, 3],3),11),5) | [
1,
-5,
1,
-2,
-2,
3
] |
input : list = [3, -2]
output : list = [-40, 10] | [
-40,
10
] | generated_output : list = mul_n(sort_asc(sort_des(sub_n(mul_n(input,-2),2))),5) | generated_output : list = mul_n(sort_asc(sort_des(sub_n(mul_n([3, -2],-2),2))),5) | [
3,
-2
] |
input : list = [3, 2, 3]
output : list = [6, 5, 6] | [
6,
5,
6
] | generated_output : list = sub_n(input,-3) | generated_output : list = sub_n([3, 2, 3],-3) | [
3,
2,
3
] |
input : list = [5, 4]
output : list = [-4, -3] | [
-4,
-3
] | generated_output : list = add_n(reverse(sort_des(mul_n(mul_n(input,-1),1))),1) | generated_output : list = add_n(reverse(sort_des(mul_n(mul_n([5, 4],-1),1))),1) | [
5,
4
] |
input : list = [-4, 1, -2, 2, 5]
output : list = [-5, 0, -3] | [
-5,
0,
-3
] | generated_output : list = take(take(sub_n(take(take(input,3),20),1),37),22) | generated_output : list = take(take(sub_n(take(take([-4, 1, -2, 2, 5],3),20),1),37),22) | [
-4,
1,
-2,
2,
5
] |
input : list = [-5, -5, 2, -4, 1, 3]
output : list = [4, 3, 2, -3, -4, -4] | [
4,
3,
2,
-3,
-4,
-4
] | generated_output : list = add_n(sort_des(input),1) | generated_output : list = add_n(sort_des([-5, -5, 2, -4, 1, 3]),1) | [
-5,
-5,
2,
-4,
1,
3
] |
input : list = [3, -3, 5, 5, -3, -4]
output : list = [3, -3, 5, 5, -3, -4] | [
3,
-3,
5,
5,
-3,
-4
] | generated_output : list = mul_n(input,1) | generated_output : list = mul_n([3, -3, 5, 5, -3, -4],1) | [
3,
-3,
5,
5,
-3,
-4
] |
input : list = [-1, 4, 3, -3, -5, -5]
output : list = [-1, -2, -6, -8, -10, -10] | [
-1,
-2,
-6,
-8,
-10,
-10
] | generated_output : list = reverse(sort_asc(sub_n(input,5))) | generated_output : list = reverse(sort_asc(sub_n([-1, 4, 3, -3, -5, -5],5))) | [
-1,
4,
3,
-3,
-5,
-5
] |
input : list = [-2, 3, 2, 0, 3]
output : list = [-8, -8, -9, -11, -13] | [
-8,
-8,
-9,
-11,
-13
] | generated_output : list = sub_n(add_n(sub_n(sort_des(add_n(input,-3)),4),-2),2) | generated_output : list = sub_n(add_n(sub_n(sort_des(add_n([-2, 3, 2, 0, 3],-3)),4),-2),2) | [
-2,
3,
2,
0,
3
] |
input : list = [-1, -1, 0, 0, 2, 2]
output : list = [2, 2, 0, 0, -1, -1] | [
2,
2,
0,
0,
-1,
-1
] | generated_output : list = reverse(input) | generated_output : list = reverse([-1, -1, 0, 0, 2, 2]) | [
-1,
-1,
0,
0,
2,
2
] |
input : list = [-4, 3, 3]
output : list = [3, 3, -4] | [
3,
3,
-4
] | generated_output : list = sort_des(input) | generated_output : list = sort_des([-4, 3, 3]) | [
-4,
3,
3
] |
input : list = [-4, -3, -1, 1, -4, -1]
output : list = [-7, -9, -9, -11, -12, -12] | [
-7,
-9,
-9,
-11,
-12,
-12
] | generated_output : list = add_n(add_n(sub_n(sort_des(add_n(input,4)),5),-3),-4) | generated_output : list = add_n(add_n(sub_n(sort_des(add_n([-4, -3, -1, 1, -4, -1],4)),5),-3),-4) | [
-4,
-3,
-1,
1,
-4,
-1
] |
input : list = [-3, 0, -3, -5, 4, -4]
output : list = [-30, 0, -30, -50, 40, -40] | [
-30,
0,
-30,
-50,
40,
-40
] | generated_output : list = mul_n(reverse(mul_n(reverse(input),-5)),-2) | generated_output : list = mul_n(reverse(mul_n(reverse([-3, 0, -3, -5, 4, -4]),-5)),-2) | [
-3,
0,
-3,
-5,
4,
-4
] |
input : list = [3, -1, 3]
output : list = [-1, 3, 3] | [
-1,
3,
3
] | generated_output : list = sort_asc(input) | generated_output : list = sort_asc([3, -1, 3]) | [
3,
-1,
3
] |
input : list = [5, 4, -2]
output : list = [-1, 5, 6] | [
-1,
5,
6
] | generated_output : list = take(sort_asc(add_n(add_n(input,3),-2)),34) | generated_output : list = take(sort_asc(add_n(add_n([5, 4, -2],3),-2)),34) | [
5,
4,
-2
] |
input : list = [-5, 2, -1, 3, 4, -4]
output : list = [-3, 0, 3, 12, 21, 24] | [
-3,
0,
3,
12,
21,
24
] | generated_output : list = sort_asc(sort_asc(mul_n(add_n(sub_n(input,2),-1),-3))) | generated_output : list = sort_asc(sort_asc(mul_n(add_n(sub_n([-5, 2, -1, 3, 4, -4],2),-1),-3))) | [
-5,
2,
-1,
3,
4,
-4
] |
input : list = [0, 1, 3, 3, -5]
output : list = [-15, 0] | [
-15,
0
] | generated_output : list = reverse(take(mul_n(mul_n(take(input,2),-3),5),32)) | generated_output : list = reverse(take(mul_n(mul_n(take([0, 1, 3, 3, -5],2),-3),5),32)) | [
0,
1,
3,
3,
-5
] |