input
stringlengths
41
91
io_out
sequence
output_masked
stringlengths
39
81
output
stringlengths
41
100
io_inp
sequence
input : list = [3, -4, -5] output : list = [3, 2, -5]
[ 3, 2, -5 ]
generated_output : list = add_n(reverse(sort_asc(mul_n(input,-1))),-2)
generated_output : list = add_n(reverse(sort_asc(mul_n([3, -4, -5],-1))),-2)
[ 3, -4, -5 ]
input : list = [5, 2, 1, 3, 2] output : list = [7, 4, 3, 5, 4]
[ 7, 4, 3, 5, 4 ]
generated_output : list = sub_n(input,-2)
generated_output : list = sub_n([5, 2, 1, 3, 2],-2)
[ 5, 2, 1, 3, 2 ]
input : list = [-3, -1, 4] output : list = [-20, 0, 8]
[ -20, 0, 8 ]
generated_output : list = sub_n(sort_asc(add_n(sort_asc(mul_n(input,-4)),1)),5)
generated_output : list = sub_n(sort_asc(add_n(sort_asc(mul_n([-3, -1, 4],-4)),1)),5)
[ -3, -1, 4 ]
input : list = [-2, 2, -2, 5, -2, 5] output : list = [-20, -20, -8, 8, 8, 8]
[ -20, -20, -8, 8, 8, 8 ]
generated_output : list = mul_n(take(sort_des(sort_des(sort_asc(input))),34),-4)
generated_output : list = mul_n(take(sort_des(sort_des(sort_asc([-2, 2, -2, 5, -2, 5]))),34),-4)
[ -2, 2, -2, 5, -2, 5 ]
input : list = [1, 3, -2] output : list = [3, 1, -2]
[ 3, 1, -2 ]
generated_output : list = sort_des(reverse(input))
generated_output : list = sort_des(reverse([1, 3, -2]))
[ 1, 3, -2 ]
input : list = [-5, -1, -3, 1] output : list = [-96, -32, -64, 0]
[ -96, -32, -64, 0 ]
generated_output : list = sub_n(add_n(mul_n(add_n(mul_n(input,-4),3),-4),-5),-1)
generated_output : list = sub_n(add_n(mul_n(add_n(mul_n([-5, -1, -3, 1],-4),3),-4),-5),-1)
[ -5, -1, -3, 1 ]
input : list = [3, 5, 1, 2] output : list = [2, 1, 5, 3]
[ 2, 1, 5, 3 ]
generated_output : list = reverse(input)
generated_output : list = reverse([3, 5, 1, 2])
[ 3, 5, 1, 2 ]
input : list = [-5, 1, 2] output : list = [-4]
[ -4 ]
generated_output : list = reverse(sub_n(reverse(sort_asc(take(input,1))),-1))
generated_output : list = reverse(sub_n(reverse(sort_asc(take([-5, 1, 2],1))),-1))
[ -5, 1, 2 ]
input : list = [0, 3, 4, 2] output : list = [1]
[ 1 ]
generated_output : list = mul_n(take(drop(add_n(sub_n(input,-1),-2),3),36),1)
generated_output : list = mul_n(take(drop(add_n(sub_n([0, 3, 4, 2],-1),-2),3),36),1)
[ 0, 3, 4, 2 ]
input : list = [0, -2, -1] output : list = [0, -1, -2]
[ 0, -1, -2 ]
generated_output : list = sort_des(reverse(reverse(sort_asc(reverse(input)))))
generated_output : list = sort_des(reverse(reverse(sort_asc(reverse([0, -2, -1])))))
[ 0, -2, -1 ]
input : list = [-2, -2, 2, -5, -4] output : list = [-5]
[ -5 ]
generated_output : list = reverse(drop(take(sort_des(input),11),4))
generated_output : list = reverse(drop(take(sort_des([-2, -2, 2, -5, -4]),11),4))
[ -2, -2, 2, -5, -4 ]
input : list = [1, -5, 4, -4, 4, -4] output : list = [5, -1, 8, 0, 8, 0]
[ 5, -1, 8, 0, 8, 0 ]
generated_output : list = sub_n(input,-4)
generated_output : list = sub_n([1, -5, 4, -4, 4, -4],-4)
[ 1, -5, 4, -4, 4, -4 ]
input : list = [-2, 1, -2, -3, -1] output : list = [-3, -1]
[ -3, -1 ]
generated_output : list = drop(input,3)
generated_output : list = drop([-2, 1, -2, -3, -1],3)
[ -2, 1, -2, -3, -1 ]
input : list = [0, 1, 4, 5, -5, -1] output : list = [-3, 1, 2, 3, 6, 7]
[ -3, 1, 2, 3, 6, 7 ]
generated_output : list = add_n(sort_asc(sort_des(sub_n(mul_n(input,1),-1))),1)
generated_output : list = add_n(sort_asc(sort_des(sub_n(mul_n([0, 1, 4, 5, -5, -1],1),-1))),1)
[ 0, 1, 4, 5, -5, -1 ]
input : list = [-1, -3, 3, 2, -3, 3] output : list = [5, 4, -1]
[ 5, 4, -1 ]
generated_output : list = add_n(add_n(sort_des(sort_asc(drop(input,3))),1),1)
generated_output : list = add_n(add_n(sort_des(sort_asc(drop([-1, -3, 3, 2, -3, 3],3))),1),1)
[ -1, -3, 3, 2, -3, 3 ]
input : list = [-5, -5, 0, 2, -2] output : list = [-5, -5, 0]
[ -5, -5, 0 ]
generated_output : list = take(input,3)
generated_output : list = take([-5, -5, 0, 2, -2],3)
[ -5, -5, 0, 2, -2 ]
input : list = [3, 2, 3] output : list = [-2, -1, -1]
[ -2, -1, -1 ]
generated_output : list = sub_n(sort_asc(sort_des(mul_n(add_n(input,1),1))),5)
generated_output : list = sub_n(sort_asc(sort_des(mul_n(add_n([3, 2, 3],1),1))),5)
[ 3, 2, 3 ]
input : list = [-5, -5, 2, 5] output : list = [-5, -5, 2, 5]
[ -5, -5, 2, 5 ]
generated_output : list = mul_n(mul_n(sort_asc(sort_asc(reverse(input))),1),1)
generated_output : list = mul_n(mul_n(sort_asc(sort_asc(reverse([-5, -5, 2, 5]))),1),1)
[ -5, -5, 2, 5 ]
input : list = [3, 0, -4, -1, 5] output : list = [-1]
[ -1 ]
generated_output : list = reverse(take(sort_asc(sort_asc(sub_n(input,-3))),1))
generated_output : list = reverse(take(sort_asc(sort_asc(sub_n([3, 0, -4, -1, 5],-3))),1))
[ 3, 0, -4, -1, 5 ]
input : list = [-2, 4, 3, 3, -2] output : list = [4, -8, -6, -6, 4]
[ 4, -8, -6, -6, 4 ]
generated_output : list = mul_n(input,-2)
generated_output : list = mul_n([-2, 4, 3, 3, -2],-2)
[ -2, 4, 3, 3, -2 ]
input : list = [0, 2] output : list = [2, 0]
[ 2, 0 ]
generated_output : list = sort_des(sort_asc(input))
generated_output : list = sort_des(sort_asc([0, 2]))
[ 0, 2 ]
input : list = [1, 1, -4, 5, -2, -3] output : list = [2, 2, -3, 6, -1, -2]
[ 2, 2, -3, 6, -1, -2 ]
generated_output : list = add_n(input,1)
generated_output : list = add_n([1, 1, -4, 5, -2, -3],1)
[ 1, 1, -4, 5, -2, -3 ]
input : list = [-5, -2, -4] output : list = [-5, -7, -8]
[ -5, -7, -8 ]
generated_output : list = sort_des(reverse(reverse(sub_n(sort_asc(input),3))))
generated_output : list = sort_des(reverse(reverse(sub_n(sort_asc([-5, -2, -4]),3))))
[ -5, -2, -4 ]
input : list = [3, 1] output : list = [6, 4]
[ 6, 4 ]
generated_output : list = sub_n(sort_des(sub_n(add_n(input,5),4)),-2)
generated_output : list = sub_n(sort_des(sub_n(add_n([3, 1],5),4)),-2)
[ 3, 1 ]
input : list = [2, -2] output : list = [-7, 9]
[ -7, 9 ]
generated_output : list = sub_n(mul_n(reverse(sort_asc(sort_des(input))),-4),-1)
generated_output : list = sub_n(mul_n(reverse(sort_asc(sort_des([2, -2]))),-4),-1)
[ 2, -2 ]
input : list = [4, 3, 0, -3] output : list = [3, 0, -3]
[ 3, 0, -3 ]
generated_output : list = sort_des(reverse(drop(input,1)))
generated_output : list = sort_des(reverse(drop([4, 3, 0, -3],1)))
[ 4, 3, 0, -3 ]
input : list = [0, -3, 1, -4, -4] output : list = [-20, -20]
[ -20, -20 ]
generated_output : list = reverse(mul_n(sort_asc(take(drop(input,3),20)),5))
generated_output : list = reverse(mul_n(sort_asc(take(drop([0, -3, 1, -4, -4],3),20)),5))
[ 0, -3, 1, -4, -4 ]
input : list = [-1, 0, -3, -4] output : list = [5, 0, -10, -15]
[ 5, 0, -10, -15 ]
generated_output : list = mul_n(add_n(take(add_n(sort_des(input),2),24),-1),5)
generated_output : list = mul_n(add_n(take(add_n(sort_des([-1, 0, -3, -4]),2),24),-1),5)
[ -1, 0, -3, -4 ]
input : list = [4, -5, -1, -5, -4] output : list = [4, 1, 0]
[ 4, 1, 0 ]
generated_output : list = sort_des(add_n(sort_des(drop(input,2)),5))
generated_output : list = sort_des(add_n(sort_des(drop([4, -5, -1, -5, -4],2)),5))
[ 4, -5, -1, -5, -4 ]
input : list = [-2, -1, 4, 1] output : list = [-9, -6, 0, 9]
[ -9, -6, 0, 9 ]
generated_output : list = mul_n(sort_asc(add_n(sort_asc(add_n(input,1)),-2)),3)
generated_output : list = mul_n(sort_asc(add_n(sort_asc(add_n([-2, -1, 4, 1],1)),-2)),3)
[ -2, -1, 4, 1 ]
input : list = [5, -4, 3, 2] output : list = [2, 3, -4, 5]
[ 2, 3, -4, 5 ]
generated_output : list = reverse(input)
generated_output : list = reverse([5, -4, 3, 2])
[ 5, -4, 3, 2 ]
input : list = [1, 0] output : list = [12, 16]
[ 12, 16 ]
generated_output : list = mul_n(sub_n(take(sort_des(sort_asc(input)),13),4),-4)
generated_output : list = mul_n(sub_n(take(sort_des(sort_asc([1, 0])),13),4),-4)
[ 1, 0 ]
input : list = [2, 5, 2, -5] output : list = [32, 4, 4, -8]
[ 32, 4, 4, -8 ]
generated_output : list = mul_n(reverse(add_n(take(sort_des(input),20),-3)),-4)
generated_output : list = mul_n(reverse(add_n(take(sort_des([2, 5, 2, -5]),20),-3)),-4)
[ 2, 5, 2, -5 ]
input : list = [2, -1, -4, -5, 3] output : list = [0, -3, -6, -7, 1]
[ 0, -3, -6, -7, 1 ]
generated_output : list = add_n(mul_n(add_n(input,1),1),-3)
generated_output : list = add_n(mul_n(add_n([2, -1, -4, -5, 3],1),1),-3)
[ 2, -1, -4, -5, 3 ]
input : list = [3, 4, 2, 5, 4, 5] output : list = [-12, -17, -7, -22, -17, -22]
[ -12, -17, -7, -22, -17, -22 ]
generated_output : list = add_n(take(reverse(mul_n(reverse(input),-5)),19),3)
generated_output : list = add_n(take(reverse(mul_n(reverse([3, 4, 2, 5, 4, 5]),-5)),19),3)
[ 3, 4, 2, 5, 4, 5 ]
input : list = [5, 5, -4] output : list = [12, -24, -24]
[ 12, -24, -24 ]
generated_output : list = mul_n(reverse(add_n(reverse(reverse(input)),1)),-4)
generated_output : list = mul_n(reverse(add_n(reverse(reverse([5, 5, -4])),1)),-4)
[ 5, 5, -4 ]
input : list = [-5, -1] output : list = [-3, 1]
[ -3, 1 ]
generated_output : list = sort_asc(take(sub_n(sub_n(input,3),-5),11))
generated_output : list = sort_asc(take(sub_n(sub_n([-5, -1],3),-5),11))
[ -5, -1 ]
input : list = [3, 3, -1, -5, 5, -5] output : list = [-20, -20, -4, 12, 12, 20]
[ -20, -20, -4, 12, 12, 20 ]
generated_output : list = reverse(sort_des(reverse(mul_n(sort_des(input),4))))
generated_output : list = reverse(sort_des(reverse(mul_n(sort_des([3, 3, -1, -5, 5, -5]),4))))
[ 3, 3, -1, -5, 5, -5 ]
input : list = [-2, 3, 1] output : list = [-5, -7, -10]
[ -5, -7, -10 ]
generated_output : list = sub_n(sub_n(sort_des(input),4),4)
generated_output : list = sub_n(sub_n(sort_des([-2, 3, 1]),4),4)
[ -2, 3, 1 ]
input : list = [-2, -1, 0, 1, 0] output : list = [1, 0, 0, -1, -2]
[ 1, 0, 0, -1, -2 ]
generated_output : list = sort_des(input)
generated_output : list = sort_des([-2, -1, 0, 1, 0])
[ -2, -1, 0, 1, 0 ]
input : list = [3, 3, -5] output : list = [-1, 7, 7]
[ -1, 7, 7 ]
generated_output : list = reverse(sub_n(sort_des(mul_n(sort_des(input),1)),-4))
generated_output : list = reverse(sub_n(sort_des(mul_n(sort_des([3, 3, -5]),1)),-4))
[ 3, 3, -5 ]
input : list = [0, -3, 5, 0, 4] output : list = [-13, -10, -10, -6, -5]
[ -13, -10, -10, -6, -5 ]
generated_output : list = sort_asc(sort_asc(sort_asc(sub_n(sub_n(input,5),5))))
generated_output : list = sort_asc(sort_asc(sort_asc(sub_n(sub_n([0, -3, 5, 0, 4],5),5))))
[ 0, -3, 5, 0, 4 ]
input : list = [4, 2] output : list = [50, 40]
[ 50, 40 ]
generated_output : list = mul_n(sub_n(sub_n(take(sub_n(input,-5),4),2),-3),5)
generated_output : list = mul_n(sub_n(sub_n(take(sub_n([4, 2],-5),4),2),-3),5)
[ 4, 2 ]
input : list = [4, 0] output : list = [-2, -6]
[ -2, -6 ]
generated_output : list = reverse(sort_asc(reverse(sub_n(add_n(input,-5),1))))
generated_output : list = reverse(sort_asc(reverse(sub_n(add_n([4, 0],-5),1))))
[ 4, 0 ]
input : list = [1, 4, 4, -1, -3] output : list = [-3, -1, 4, 4, 1]
[ -3, -1, 4, 4, 1 ]
generated_output : list = reverse(input)
generated_output : list = reverse([1, 4, 4, -1, -3])
[ 1, 4, 4, -1, -3 ]
input : list = [-4, -2, -4, 2, -3] output : list = [-12, -6, -12, 6, -9]
[ -12, -6, -12, 6, -9 ]
generated_output : list = mul_n(input,3)
generated_output : list = mul_n([-4, -2, -4, 2, -3],3)
[ -4, -2, -4, 2, -3 ]
input : list = [5, -1, 5, -2, -5, -1] output : list = [32, 32, 8, 8, 4, -8]
[ 32, 32, 8, 8, 4, -8 ]
generated_output : list = mul_n(sort_des(add_n(take(add_n(input,-2),10),5)),4)
generated_output : list = mul_n(sort_des(add_n(take(add_n([5, -1, 5, -2, -5, -1],-2),10),5)),4)
[ 5, -1, 5, -2, -5, -1 ]
input : list = [-3, -4, -3, 5, -4] output : list = [-8, -11, -8, 16, -11]
[ -8, -11, -8, 16, -11 ]
generated_output : list = sub_n(mul_n(input,3),-1)
generated_output : list = sub_n(mul_n([-3, -4, -3, 5, -4],3),-1)
[ -3, -4, -3, 5, -4 ]
input : list = [1, 2, 3] output : list = [5, 6, 7]
[ 5, 6, 7 ]
generated_output : list = add_n(sort_asc(reverse(sort_des(add_n(input,5)))),-1)
generated_output : list = add_n(sort_asc(reverse(sort_des(add_n([1, 2, 3],5)))),-1)
[ 1, 2, 3 ]
input : list = [-4, 0, 1, 5] output : list = [-2, 2, 3, 7]
[ -2, 2, 3, 7 ]
generated_output : list = sub_n(sub_n(sort_asc(add_n(reverse(input),4)),3),-1)
generated_output : list = sub_n(sub_n(sort_asc(add_n(reverse([-4, 0, 1, 5]),4)),3),-1)
[ -4, 0, 1, 5 ]
input : list = [3, -4, -4] output : list = [-2, -9, -9]
[ -2, -9, -9 ]
generated_output : list = sort_des(sort_asc(reverse(sub_n(input,5))))
generated_output : list = sort_des(sort_asc(reverse(sub_n([3, -4, -4],5))))
[ 3, -4, -4 ]
input : list = [-5, 4, -1, 3, -3, -3] output : list = [4, 3, -1, -3, -3, -5]
[ 4, 3, -1, -3, -3, -5 ]
generated_output : list = sort_des(sort_asc(input))
generated_output : list = sort_des(sort_asc([-5, 4, -1, 3, -3, -3]))
[ -5, 4, -1, 3, -3, -3 ]
input : list = [5, 3, -3, -5, 2, 3] output : list = [-8, -12, -40, -32, -8, 0]
[ -8, -12, -40, -32, -8, 0 ]
generated_output : list = mul_n(mul_n(take(add_n(reverse(input),-5),18),1),4)
generated_output : list = mul_n(mul_n(take(add_n(reverse([5, 3, -3, -5, 2, 3]),-5),18),1),4)
[ 5, 3, -3, -5, 2, 3 ]
input : list = [2, -3, -4, -2] output : list = [12, 9, 6, -6]
[ 12, 9, 6, -6 ]
generated_output : list = take(take(mul_n(mul_n(sort_asc(input),-1),3),8),47)
generated_output : list = take(take(mul_n(mul_n(sort_asc([2, -3, -4, -2]),-1),3),8),47)
[ 2, -3, -4, -2 ]
input : list = [5, 2, -4] output : list = [1, -2, -8]
[ 1, -2, -8 ]
generated_output : list = reverse(sub_n(sort_asc(sort_des(add_n(input,-2))),2))
generated_output : list = reverse(sub_n(sort_asc(sort_des(add_n([5, 2, -4],-2))),2))
[ 5, 2, -4 ]
input : list = [5, 4, 1, -4, 1] output : list = [-4, 1]
[ -4, 1 ]
generated_output : list = drop(input,3)
generated_output : list = drop([5, 4, 1, -4, 1],3)
[ 5, 4, 1, -4, 1 ]
input : list = [-3, 0, -2, -5, -4, 1] output : list = [2, 5, 3, 0, 1, 6]
[ 2, 5, 3, 0, 1, 6 ]
generated_output : list = sub_n(input,-5)
generated_output : list = sub_n([-3, 0, -2, -5, -4, 1],-5)
[ -3, 0, -2, -5, -4, 1 ]
input : list = [4, -4] output : list = [16, -16]
[ 16, -16 ]
generated_output : list = reverse(mul_n(mul_n(sort_des(sort_des(input)),2),-2))
generated_output : list = reverse(mul_n(mul_n(sort_des(sort_des([4, -4])),2),-2))
[ 4, -4 ]
input : list = [3, 4, -3, -5, 4, -4] output : list = [-4, 4, -5, -3, 4, 3]
[ -4, 4, -5, -3, 4, 3 ]
generated_output : list = reverse(input)
generated_output : list = reverse([3, 4, -3, -5, 4, -4])
[ 3, 4, -3, -5, 4, -4 ]
input : list = [-4, -2, -5, 0] output : list = [-16, -12, -4, 4]
[ -16, -12, -4, 4 ]
generated_output : list = sub_n(reverse(sort_des(take(mul_n(input,4),21))),-4)
generated_output : list = sub_n(reverse(sort_des(take(mul_n([-4, -2, -5, 0],4),21))),-4)
[ -4, -2, -5, 0 ]
input : list = [5, -4] output : list = [-24, -6]
[ -24, -6 ]
generated_output : list = mul_n(add_n(add_n(add_n(reverse(input),-5),-5),2),2)
generated_output : list = mul_n(add_n(add_n(add_n(reverse([5, -4]),-5),-5),2),2)
[ 5, -4 ]
input : list = [4, 5, -3, 3] output : list = [4, 22, -2, 1]
[ 4, 22, -2, 1 ]
generated_output : list = add_n(mul_n(sub_n(take(reverse(input),7),4),-3),1)
generated_output : list = add_n(mul_n(sub_n(take(reverse([4, 5, -3, 3]),7),4),-3),1)
[ 4, 5, -3, 3 ]
input : list = [3, 5, -5] output : list = [-72, 56, 88]
[ -72, 56, 88 ]
generated_output : list = mul_n(sub_n(sort_des(mul_n(input,-4)),2),-4)
generated_output : list = mul_n(sub_n(sort_des(mul_n([3, 5, -5],-4)),2),-4)
[ 3, 5, -5 ]
input : list = [-3, -2, 2, 0, 1, -1] output : list = [-4, -3, 1, -1, 0, -2]
[ -4, -3, 1, -1, 0, -2 ]
generated_output : list = sub_n(input,1)
generated_output : list = sub_n([-3, -2, 2, 0, 1, -1],1)
[ -3, -2, 2, 0, 1, -1 ]
input : list = [1, 5] output : list = [-2, 2]
[ -2, 2 ]
generated_output : list = sort_asc(sort_asc(sub_n(add_n(add_n(input,-1),-4),-2)))
generated_output : list = sort_asc(sort_asc(sub_n(add_n(add_n([1, 5],-1),-4),-2)))
[ 1, 5 ]
input : list = [-5, -2, 4, 5, -1] output : list = [-5, -2, -1, 4, 5]
[ -5, -2, -1, 4, 5 ]
generated_output : list = add_n(sub_n(sort_asc(input),-5),-5)
generated_output : list = add_n(sub_n(sort_asc([-5, -2, 4, 5, -1]),-5),-5)
[ -5, -2, 4, 5, -1 ]
input : list = [-4, -1] output : list = [0, 12]
[ 0, 12 ]
generated_output : list = sub_n(mul_n(add_n(reverse(reverse(input)),3),4),-4)
generated_output : list = sub_n(mul_n(add_n(reverse(reverse([-4, -1])),3),4),-4)
[ -4, -1 ]
input : list = [-2, -4, 5, -4] output : list = [-2]
[ -2 ]
generated_output : list = sort_asc(take(input,1))
generated_output : list = sort_asc(take([-2, -4, 5, -4],1))
[ -2, -4, 5, -4 ]
input : list = [4, 4, -4] output : list = [4, -4]
[ 4, -4 ]
generated_output : list = reverse(reverse(take(take(drop(input,1),9),19)))
generated_output : list = reverse(reverse(take(take(drop([4, 4, -4],1),9),19)))
[ 4, 4, -4 ]
input : list = [-1, -5, 1, 3] output : list = [-20, -10, 0, 20]
[ -20, -10, 0, 20 ]
generated_output : list = sort_asc(mul_n(sort_des(sort_asc(sub_n(input,-1))),-5))
generated_output : list = sort_asc(mul_n(sort_des(sort_asc(sub_n([-1, -5, 1, 3],-1))),-5))
[ -1, -5, 1, 3 ]
input : list = [3, -1, 5, 4] output : list = [3, -1]
[ 3, -1 ]
generated_output : list = take(input,2)
generated_output : list = take([3, -1, 5, 4],2)
[ 3, -1, 5, 4 ]
input : list = [5, 5] output : list = [5, 5]
[ 5, 5 ]
generated_output : list = sort_asc(input)
generated_output : list = sort_asc([5, 5])
[ 5, 5 ]
input : list = [5, -2, -4, -2, -2] output : list = [-4, -2, -2, -2, 5]
[ -4, -2, -2, -2, 5 ]
generated_output : list = sort_asc(input)
generated_output : list = sort_asc([5, -2, -4, -2, -2])
[ 5, -2, -4, -2, -2 ]
input : list = [2, -2, 3] output : list = [-25, -5, 0]
[ -25, -5, 0 ]
generated_output : list = mul_n(add_n(add_n(mul_n(sort_asc(input),1),2),-5),5)
generated_output : list = mul_n(add_n(add_n(mul_n(sort_asc([2, -2, 3]),1),2),-5),5)
[ 2, -2, 3 ]
input : list = [4, -2, 4, 0] output : list = [0, -12]
[ 0, -12 ]
generated_output : list = mul_n(sub_n(take(input,2),4),2)
generated_output : list = mul_n(sub_n(take([4, -2, 4, 0],2),4),2)
[ 4, -2, 4, 0 ]
input : list = [0, 0, 5, -1, -1] output : list = [-9, -9, 39, -1, -1]
[ -9, -9, 39, -1, -1 ]
generated_output : list = reverse(add_n(take(mul_n(mul_n(input,2),4),12),-1))
generated_output : list = reverse(add_n(take(mul_n(mul_n([0, 0, 5, -1, -1],2),4),12),-1))
[ 0, 0, 5, -1, -1 ]
input : list = [-3, 2, -3, -3, -5] output : list = [-3, -5]
[ -3, -5 ]
generated_output : list = drop(input,3)
generated_output : list = drop([-3, 2, -3, -3, -5],3)
[ -3, 2, -3, -3, -5 ]
input : list = [-2, -2, 1, 3, 0, -5] output : list = [-3, -5, -6, -8, -8, -11]
[ -3, -5, -6, -8, -8, -11 ]
generated_output : list = sub_n(sort_des(sub_n(sort_des(reverse(input)),4)),2)
generated_output : list = sub_n(sort_des(sub_n(sort_des(reverse([-2, -2, 1, 3, 0, -5])),4)),2)
[ -2, -2, 1, 3, 0, -5 ]
input : list = [1, 0, -5, 2] output : list = [-4, -5, -6, -11]
[ -4, -5, -6, -11 ]
generated_output : list = sub_n(sort_des(add_n(reverse(sort_asc(input)),-3)),3)
generated_output : list = sub_n(sort_des(add_n(reverse(sort_asc([1, 0, -5, 2])),-3)),3)
[ 1, 0, -5, 2 ]
input : list = [5, 4, 0] output : list = [-32, -48, -52]
[ -32, -48, -52 ]
generated_output : list = sort_des(mul_n(add_n(reverse(add_n(input,4)),4),-4))
generated_output : list = sort_des(mul_n(add_n(reverse(add_n([5, 4, 0],4)),4),-4))
[ 5, 4, 0 ]
input : list = [4, 0, -5] output : list = [0, 80]
[ 0, 80 ]
generated_output : list = reverse(mul_n(mul_n(sort_asc(drop(input,1)),-4),4))
generated_output : list = reverse(mul_n(mul_n(sort_asc(drop([4, 0, -5],1)),-4),4))
[ 4, 0, -5 ]
input : list = [4, 0, 5] output : list = [50, 45, 25]
[ 50, 45, 25 ]
generated_output : list = sort_des(mul_n(reverse(reverse(add_n(input,5))),5))
generated_output : list = sort_des(mul_n(reverse(reverse(add_n([4, 0, 5],5))),5))
[ 4, 0, 5 ]
input : list = [5, -2, 3] output : list = [4, 6]
[ 4, 6 ]
generated_output : list = sub_n(sort_asc(drop(sort_asc(sort_des(input)),1)),-1)
generated_output : list = sub_n(sort_asc(drop(sort_asc(sort_des([5, -2, 3])),1)),-1)
[ 5, -2, 3 ]
input : list = [-3, 1, 3, -4, 1] output : list = [-2, 2, 4, -3, 2]
[ -2, 2, 4, -3, 2 ]
generated_output : list = add_n(sub_n(add_n(sub_n(add_n(input,3),2),4),5),1)
generated_output : list = add_n(sub_n(add_n(sub_n(add_n([-3, 1, 3, -4, 1],3),2),4),5),1)
[ -3, 1, 3, -4, 1 ]
input : list = [1, -4, -1] output : list = [-7, -4, -2]
[ -7, -4, -2 ]
generated_output : list = sub_n(sort_asc(sort_asc(input)),3)
generated_output : list = sub_n(sort_asc(sort_asc([1, -4, -1])),3)
[ 1, -4, -1 ]
input : list = [4, -3, -4, -4, 3, 4] output : list = [6, -1, -2, -2]
[ 6, -1, -2, -2 ]
generated_output : list = add_n(take(input,4),2)
generated_output : list = add_n(take([4, -3, -4, -4, 3, 4],4),2)
[ 4, -3, -4, -4, 3, 4 ]
input : list = [-4, 4, 0, 0, 5, -5] output : list = [-3, 2, 2, 6, 7]
[ -3, 2, 2, 6, 7 ]
generated_output : list = mul_n(add_n(sort_asc(reverse(drop(input,1))),2),1)
generated_output : list = mul_n(add_n(sort_asc(reverse(drop([-4, 4, 0, 0, 5, -5],1))),2),1)
[ -4, 4, 0, 0, 5, -5 ]
input : list = [-4, 2] output : list = [20, -70]
[ 20, -70 ]
generated_output : list = add_n(mul_n(sort_des(mul_n(sub_n(input,-3),-3)),5),5)
generated_output : list = add_n(mul_n(sort_des(mul_n(sub_n([-4, 2],-3),-3)),5),5)
[ -4, 2 ]
input : list = [-1, 3] output : list = [1, 5]
[ 1, 5 ]
generated_output : list = sub_n(input,-2)
generated_output : list = sub_n([-1, 3],-2)
[ -1, 3 ]
input : list = [-5, 5, 0, -4] output : list = [-2, 2, 7]
[ -2, 2, 7 ]
generated_output : list = reverse(sort_des(sort_asc(sub_n(drop(input,1),-2))))
generated_output : list = reverse(sort_des(sort_asc(sub_n(drop([-5, 5, 0, -4],1),-2))))
[ -5, 5, 0, -4 ]
input : list = [-4, 1, 1, 1, 5] output : list = [-20, -4, -4, -4, 16]
[ -20, -4, -4, -4, 16 ]
generated_output : list = sort_asc(mul_n(reverse(sort_asc(mul_n(input,2))),-2))
generated_output : list = sort_asc(mul_n(reverse(sort_asc(mul_n([-4, 1, 1, 1, 5],2))),-2))
[ -4, 1, 1, 1, 5 ]
input : list = [0, -2, -4, 4, -4, 0] output : list = [-2, 0]
[ -2, 0 ]
generated_output : list = reverse(reverse(reverse(take(take(input,2),23))))
generated_output : list = reverse(reverse(reverse(take(take([0, -2, -4, 4, -4, 0],2),23))))
[ 0, -2, -4, 4, -4, 0 ]
input : list = [2, -4] output : list = [4, -2]
[ 4, -2 ]
generated_output : list = sub_n(input,-2)
generated_output : list = sub_n([2, -4],-2)
[ 2, -4 ]
input : list = [3, 1, 4, 1, -2] output : list = [-1, 2, 2, 4, 5]
[ -1, 2, 2, 4, 5 ]
generated_output : list = take(sort_asc(sort_asc(reverse(add_n(input,1)))),15)
generated_output : list = take(sort_asc(sort_asc(reverse(add_n([3, 1, 4, 1, -2],1)))),15)
[ 3, 1, 4, 1, -2 ]
input : list = [1, 0] output : list = [4, 0]
[ 4, 0 ]
generated_output : list = mul_n(input,4)
generated_output : list = mul_n([1, 0],4)
[ 1, 0 ]
input : list = [0, -4] output : list = [-5, -9]
[ -5, -9 ]
generated_output : list = add_n(mul_n(input,1),-5)
generated_output : list = add_n(mul_n([0, -4],1),-5)
[ 0, -4 ]
input : list = [-4, 5, 5] output : list = [-7, 2, 2]
[ -7, 2, 2 ]
generated_output : list = add_n(input,-3)
generated_output : list = add_n([-4, 5, 5],-3)
[ -4, 5, 5 ]
input : list = [-4, -1, 3, -1, -3, -5] output : list = [3, -1, -4]
[ 3, -1, -4 ]
generated_output : list = sort_des(reverse(take(input,3)))
generated_output : list = sort_des(reverse(take([-4, -1, 3, -1, -3, -5],3)))
[ -4, -1, 3, -1, -3, -5 ]
input : list = [-4, 0, 5, 2, -1, 4] output : list = [-10, -5]
[ -10, -5 ]
generated_output : list = add_n(reverse(add_n(take(reverse(input),2),-5)),-4)
generated_output : list = add_n(reverse(add_n(take(reverse([-4, 0, 5, 2, -1, 4]),2),-5)),-4)
[ -4, 0, 5, 2, -1, 4 ]
input : list = [1, -5, 3, -5, 0, 3] output : list = [-18, -18, 12, 18, 30, 30]
[ -18, -18, 12, 18, 30, 30 ]
generated_output : list = mul_n(reverse(mul_n(sort_des(sub_n(input,-2)),3)),2)
generated_output : list = mul_n(reverse(mul_n(sort_des(sub_n([1, -5, 3, -5, 0, 3],-2)),3)),2)
[ 1, -5, 3, -5, 0, 3 ]