input
stringlengths
41
91
io_out
sequence
output_masked
stringlengths
39
81
output
stringlengths
41
100
io_inp
sequence
input : list = [3, -1, -4, -5] output : list = [10, 8, 2, -6]
[ 10, 8, 2, -6 ]
generated_output : list = sort_des(mul_n(input,-2))
generated_output : list = sort_des(mul_n([3, -1, -4, -5],-2))
[ 3, -1, -4, -5 ]
input : list = [-3, -1, -5] output : list = [-2, -4, -6]
[ -2, -4, -6 ]
generated_output : list = sub_n(add_n(sort_des(reverse(sort_asc(input))),-3),-2)
generated_output : list = sub_n(add_n(sort_des(reverse(sort_asc([-3, -1, -5]))),-3),-2)
[ -3, -1, -5 ]
input : list = [4, 1, 4] output : list = [-7, -19, -19]
[ -7, -19, -19 ]
generated_output : list = reverse(sort_asc(add_n(mul_n(input,-4),-3)))
generated_output : list = reverse(sort_asc(add_n(mul_n([4, 1, 4],-4),-3)))
[ 4, 1, 4 ]
input : list = [4, -1, 1, 0] output : list = [4, 0]
[ 4, 0 ]
generated_output : list = sort_des(sort_asc(mul_n(mul_n(drop(input,2),1),4)))
generated_output : list = sort_des(sort_asc(mul_n(mul_n(drop([4, -1, 1, 0],2),1),4)))
[ 4, -1, 1, 0 ]
input : list = [3, 3, -3, 0, -5] output : list = [2, 2, -1, -4, -6]
[ 2, 2, -1, -4, -6 ]
generated_output : list = sort_des(sub_n(reverse(add_n(sort_asc(input),1)),2))
generated_output : list = sort_des(sub_n(reverse(add_n(sort_asc([3, 3, -3, 0, -5]),1)),2))
[ 3, 3, -3, 0, -5 ]
input : list = [-3, -5, 1] output : list = [-10, -6, 2]
[ -10, -6, 2 ]
generated_output : list = sort_asc(mul_n(take(sort_asc(input),5),2))
generated_output : list = sort_asc(mul_n(take(sort_asc([-3, -5, 1]),5),2))
[ -3, -5, 1 ]
input : list = [0, 4] output : list = [6, 10]
[ 6, 10 ]
generated_output : list = sub_n(sub_n(input,-1),-5)
generated_output : list = sub_n(sub_n([0, 4],-1),-5)
[ 0, 4 ]
input : list = [-3, 2, -3] output : list = [-4, -4, 1]
[ -4, -4, 1 ]
generated_output : list = take(add_n(sort_asc(add_n(add_n(input,3),-3)),-1),5)
generated_output : list = take(add_n(sort_asc(add_n(add_n([-3, 2, -3],3),-3)),-1),5)
[ -3, 2, -3 ]
input : list = [2, -1, 3, -4, -1] output : list = [6, 2, 5]
[ 6, 2, 5 ]
generated_output : list = add_n(reverse(take(input,3)),3)
generated_output : list = add_n(reverse(take([2, -1, 3, -4, -1],3)),3)
[ 2, -1, 3, -4, -1 ]
input : list = [2, -4, -4] output : list = [40, 40, -20]
[ 40, 40, -20 ]
generated_output : list = sort_des(sort_des(mul_n(mul_n(reverse(input),2),-5)))
generated_output : list = sort_des(sort_des(mul_n(mul_n(reverse([2, -4, -4]),2),-5)))
[ 2, -4, -4 ]
input : list = [3, 0, 3, -2] output : list = [-2, 3, 0, 3]
[ -2, 3, 0, 3 ]
generated_output : list = reverse(input)
generated_output : list = reverse([3, 0, 3, -2])
[ 3, 0, 3, -2 ]
input : list = [4, -5, 2, 1, -4, 0] output : list = [18, 16, 8, 6, 4, 0]
[ 18, 16, 8, 6, 4, 0 ]
generated_output : list = sort_des(sort_asc(mul_n(sort_asc(sub_n(input,4)),-2)))
generated_output : list = sort_des(sort_asc(mul_n(sort_asc(sub_n([4, -5, 2, 1, -4, 0],4)),-2)))
[ 4, -5, 2, 1, -4, 0 ]
input : list = [5, -2, -2, 2, -1] output : list = [7, 4, 1, 0, 0]
[ 7, 4, 1, 0, 0 ]
generated_output : list = sort_des(take(sort_des(take(sub_n(input,-2),25)),36))
generated_output : list = sort_des(take(sort_des(take(sub_n([5, -2, -2, 2, -1],-2),25)),36))
[ 5, -2, -2, 2, -1 ]
input : list = [-1, 0, -1, -5] output : list = [7, 8]
[ 7, 8 ]
generated_output : list = sub_n(take(sub_n(sort_asc(take(input,2)),-3),13),-5)
generated_output : list = sub_n(take(sub_n(sort_asc(take([-1, 0, -1, -5],2)),-3),13),-5)
[ -1, 0, -1, -5 ]
input : list = [-5, 1, -1, 2, -1, -4] output : list = [25, -5, 5, -10, 5, 20]
[ 25, -5, 5, -10, 5, 20 ]
generated_output : list = mul_n(input,-5)
generated_output : list = mul_n([-5, 1, -1, 2, -1, -4],-5)
[ -5, 1, -1, 2, -1, -4 ]
input : list = [-4, 2] output : list = [23, -7]
[ 23, -7 ]
generated_output : list = take(sub_n(mul_n(mul_n(sort_asc(input),-5),1),-3),26)
generated_output : list = take(sub_n(mul_n(mul_n(sort_asc([-4, 2]),-5),1),-3),26)
[ -4, 2 ]
input : list = [3, -4, 0, 0, -2] output : list = [3]
[ 3 ]
generated_output : list = take(input,1)
generated_output : list = take([3, -4, 0, 0, -2],1)
[ 3, -4, 0, 0, -2 ]
input : list = [-3, 1, -2, -1, 2, 1] output : list = [6, 7, 4, 3, 6, 2]
[ 6, 7, 4, 3, 6, 2 ]
generated_output : list = reverse(add_n(input,5))
generated_output : list = reverse(add_n([-3, 1, -2, -1, 2, 1],5))
[ -3, 1, -2, -1, 2, 1 ]
input : list = [-3, 5, -2, 5, 0, -2] output : list = [-3, -2, -2, 0, 5, 5]
[ -3, -2, -2, 0, 5, 5 ]
generated_output : list = reverse(take(sort_des(take(reverse(input),23)),10))
generated_output : list = reverse(take(sort_des(take(reverse([-3, 5, -2, 5, 0, -2]),23)),10))
[ -3, 5, -2, 5, 0, -2 ]
input : list = [-5, 4, 1] output : list = [-25, 5, 20]
[ -25, 5, 20 ]
generated_output : list = sort_asc(mul_n(add_n(add_n(sort_des(input),-5),5),5))
generated_output : list = sort_asc(mul_n(add_n(add_n(sort_des([-5, 4, 1]),-5),5),5))
[ -5, 4, 1 ]
input : list = [2, 3, -4, -3, 3] output : list = [-10, -9, -4, -3, -3]
[ -10, -9, -4, -3, -3 ]
generated_output : list = sort_asc(reverse(sub_n(sub_n(add_n(input,-2),5),-1)))
generated_output : list = sort_asc(reverse(sub_n(sub_n(add_n([2, 3, -4, -3, 3],-2),5),-1)))
[ 2, 3, -4, -3, 3 ]
input : list = [3, -5, 0] output : list = [2, 7, 10]
[ 2, 7, 10 ]
generated_output : list = sort_asc(mul_n(sub_n(reverse(add_n(input,4)),-3),1))
generated_output : list = sort_asc(mul_n(sub_n(reverse(add_n([3, -5, 0],4)),-3),1))
[ 3, -5, 0 ]
input : list = [-5, 0, 2] output : list = [21, 15, 0]
[ 21, 15, 0 ]
generated_output : list = mul_n(sub_n(add_n(reverse(sub_n(input,-5)),3),3),3)
generated_output : list = mul_n(sub_n(add_n(reverse(sub_n([-5, 0, 2],-5)),3),3),3)
[ -5, 0, 2 ]
input : list = [2, 5] output : list = [20, 11]
[ 20, 11 ]
generated_output : list = sort_des(take(take(sub_n(mul_n(input,3),-5),8),16))
generated_output : list = sort_des(take(take(sub_n(mul_n([2, 5],3),-5),8),16))
[ 2, 5 ]
input : list = [4, 2, -1, 0, 2] output : list = [3, 4, 6]
[ 3, 4, 6 ]
generated_output : list = reverse(add_n(add_n(reverse(drop(input,2)),3),1))
generated_output : list = reverse(add_n(add_n(reverse(drop([4, 2, -1, 0, 2],2)),3),1))
[ 4, 2, -1, 0, 2 ]
input : list = [1, -2, -1, -5] output : list = [8, 4, 20]
[ 8, 4, 20 ]
generated_output : list = mul_n(drop(input,1),-4)
generated_output : list = mul_n(drop([1, -2, -1, -5],1),-4)
[ 1, -2, -1, -5 ]
input : list = [1, 3, 3, -4, -4, 2] output : list = [-5]
[ -5 ]
generated_output : list = take(sort_des(mul_n(sort_asc(take(input,1)),-5)),40)
generated_output : list = take(sort_des(mul_n(sort_asc(take([1, 3, 3, -4, -4, 2],1)),-5)),40)
[ 1, 3, 3, -4, -4, 2 ]
input : list = [-3, 1, 2] output : list = [6, -2, -4]
[ 6, -2, -4 ]
generated_output : list = sort_des(take(mul_n(input,-2),10))
generated_output : list = sort_des(take(mul_n([-3, 1, 2],-2),10))
[ -3, 1, 2 ]
input : list = [5, -4, 2, 4, 0] output : list = [0, 4, 8]
[ 0, 4, 8 ]
generated_output : list = sort_asc(take(reverse(mul_n(drop(input,2),2)),33))
generated_output : list = sort_asc(take(reverse(mul_n(drop([5, -4, 2, 4, 0],2),2)),33))
[ 5, -4, 2, 4, 0 ]
input : list = [0, -2, 0, -4, 5] output : list = [-2, 0, -4, 5]
[ -2, 0, -4, 5 ]
generated_output : list = drop(input,1)
generated_output : list = drop([0, -2, 0, -4, 5],1)
[ 0, -2, 0, -4, 5 ]
input : list = [0, -2, -4, 4, -3] output : list = [-3, -7, -9, -10, -11]
[ -3, -7, -9, -10, -11 ]
generated_output : list = mul_n(sort_des(add_n(add_n(reverse(input),-5),-2)),1)
generated_output : list = mul_n(sort_des(add_n(add_n(reverse([0, -2, -4, 4, -3]),-5),-2)),1)
[ 0, -2, -4, 4, -3 ]
input : list = [-2, 3, -3, 1, 4] output : list = [80, 20]
[ 80, 20 ]
generated_output : list = sort_des(sort_asc(mul_n(mul_n(drop(input,3),-5),-4)))
generated_output : list = sort_des(sort_asc(mul_n(mul_n(drop([-2, 3, -3, 1, 4],3),-5),-4)))
[ -2, 3, -3, 1, 4 ]
input : list = [4, -3, 3, -5, 1] output : list = [4, -3, 3, -5, 1]
[ 4, -3, 3, -5, 1 ]
generated_output : list = take(reverse(reverse(reverse(reverse(input)))),10)
generated_output : list = take(reverse(reverse(reverse(reverse([4, -3, 3, -5, 1])))),10)
[ 4, -3, 3, -5, 1 ]
input : list = [3, 0] output : list = [0, 3]
[ 0, 3 ]
generated_output : list = sort_asc(input)
generated_output : list = sort_asc([3, 0])
[ 3, 0 ]
input : list = [4, 3, -4, 2] output : list = [15, -3, -6, -9]
[ 15, -3, -6, -9 ]
generated_output : list = mul_n(reverse(sort_des(add_n(sort_asc(input),-1))),-3)
generated_output : list = mul_n(reverse(sort_des(add_n(sort_asc([4, 3, -4, 2]),-1))),-3)
[ 4, 3, -4, 2 ]
input : list = [2, -4, 3, 3, 0, 2] output : list = [3, 3, 2, 0, -4]
[ 3, 3, 2, 0, -4 ]
generated_output : list = reverse(sort_asc(drop(input,1)))
generated_output : list = reverse(sort_asc(drop([2, -4, 3, 3, 0, 2],1)))
[ 2, -4, 3, 3, 0, 2 ]
input : list = [4, 5, -1] output : list = [-5, 13]
[ -5, 13 ]
generated_output : list = sub_n(sort_asc(sort_des(mul_n(drop(input,1),3))),2)
generated_output : list = sub_n(sort_asc(sort_des(mul_n(drop([4, 5, -1],1),3))),2)
[ 4, 5, -1 ]
input : list = [1, -2, 1] output : list = [7, 10, 10]
[ 7, 10, 10 ]
generated_output : list = sort_asc(mul_n(take(sub_n(add_n(input,4),-5),8),1))
generated_output : list = sort_asc(mul_n(take(sub_n(add_n([1, -2, 1],4),-5),8),1))
[ 1, -2, 1 ]
input : list = [-5, -1, 5, 3] output : list = [-10]
[ -10 ]
generated_output : list = sub_n(take(input,1),5)
generated_output : list = sub_n(take([-5, -1, 5, 3],1),5)
[ -5, -1, 5, 3 ]
input : list = [-5, 4] output : list = [4]
[ 4 ]
generated_output : list = take(sort_des(input),1)
generated_output : list = take(sort_des([-5, 4]),1)
[ -5, 4 ]
input : list = [0, 1, -2] output : list = [2]
[ 2 ]
generated_output : list = sort_asc(add_n(reverse(reverse(take(input,1))),2))
generated_output : list = sort_asc(add_n(reverse(reverse(take([0, 1, -2],1))),2))
[ 0, 1, -2 ]
input : list = [2, 0, 4, -2, -3] output : list = [-3, -2, 0, 2, 4]
[ -3, -2, 0, 2, 4 ]
generated_output : list = sort_asc(input)
generated_output : list = sort_asc([2, 0, 4, -2, -3])
[ 2, 0, 4, -2, -3 ]
input : list = [0, -2, -5] output : list = [1]
[ 1 ]
generated_output : list = sort_des(take(sort_des(sub_n(take(input,1),-1)),9))
generated_output : list = sort_des(take(sort_des(sub_n(take([0, -2, -5],1),-1)),9))
[ 0, -2, -5 ]
input : list = [-3, 0, -1, 4, 1, -2] output : list = [2, 5, 4, 9, 6, 3]
[ 2, 5, 4, 9, 6, 3 ]
generated_output : list = add_n(input,5)
generated_output : list = add_n([-3, 0, -1, 4, 1, -2],5)
[ -3, 0, -1, 4, 1, -2 ]
input : list = [5, 2, 5, 1] output : list = [8, 8, 5, 4]
[ 8, 8, 5, 4 ]
generated_output : list = take(sub_n(take(sort_des(sort_asc(input)),28),-3),39)
generated_output : list = take(sub_n(take(sort_des(sort_asc([5, 2, 5, 1])),28),-3),39)
[ 5, 2, 5, 1 ]
input : list = [0, -3, -3] output : list = [-7, -7, -22]
[ -7, -7, -22 ]
generated_output : list = sub_n(reverse(add_n(mul_n(sub_n(input,-3),-5),-2)),5)
generated_output : list = sub_n(reverse(add_n(mul_n(sub_n([0, -3, -3],-3),-5),-2)),5)
[ 0, -3, -3 ]
input : list = [-1, -2, 5, 4, -5] output : list = [1, 0, -9]
[ 1, 0, -9 ]
generated_output : list = take(sub_n(add_n(take(drop(input,2),7),-1),3),26)
generated_output : list = take(sub_n(add_n(take(drop([-1, -2, 5, 4, -5],2),7),-1),3),26)
[ -1, -2, 5, 4, -5 ]
input : list = [3, -5, -1, -5, 0] output : list = [-2, -2, 2, 3, 6]
[ -2, -2, 2, 3, 6 ]
generated_output : list = sort_asc(reverse(add_n(input,3)))
generated_output : list = sort_asc(reverse(add_n([3, -5, -1, -5, 0],3)))
[ 3, -5, -1, -5, 0 ]
input : list = [-4, 0] output : list = [0, -4]
[ 0, -4 ]
generated_output : list = sort_des(sort_asc(sort_asc(input)))
generated_output : list = sort_des(sort_asc(sort_asc([-4, 0])))
[ -4, 0 ]
input : list = [-2, -5, -3, 5, 3, 4] output : list = [3, 2, 1, -4, -5, -7]
[ 3, 2, 1, -4, -5, -7 ]
generated_output : list = sort_des(sub_n(input,2))
generated_output : list = sort_des(sub_n([-2, -5, -3, 5, 3, 4],2))
[ -2, -5, -3, 5, 3, 4 ]
input : list = [2, 2, -4, 0, -5] output : list = [4, 4, 2, -2, -3]
[ 4, 4, 2, -2, -3 ]
generated_output : list = sort_des(sub_n(add_n(take(sub_n(input,-1),14),2),1))
generated_output : list = sort_des(sub_n(add_n(take(sub_n([2, 2, -4, 0, -5],-1),14),2),1))
[ 2, 2, -4, 0, -5 ]
input : list = [1, 2] output : list = [3, 4]
[ 3, 4 ]
generated_output : list = sub_n(reverse(reverse(input)),-2)
generated_output : list = sub_n(reverse(reverse([1, 2])),-2)
[ 1, 2 ]
input : list = [-2, 5, 1] output : list = [-50, -10, 20]
[ -50, -10, 20 ]
generated_output : list = sort_asc(reverse(take(mul_n(mul_n(input,-2),5),15)))
generated_output : list = sort_asc(reverse(take(mul_n(mul_n([-2, 5, 1],-2),5),15)))
[ -2, 5, 1 ]
input : list = [1, -1] output : list = [5, -5]
[ 5, -5 ]
generated_output : list = reverse(sort_asc(mul_n(input,-5)))
generated_output : list = reverse(sort_asc(mul_n([1, -1],-5)))
[ 1, -1 ]
input : list = [2, 3, -5] output : list = [6, 7, -1]
[ 6, 7, -1 ]
generated_output : list = add_n(add_n(add_n(input,-2),3),3)
generated_output : list = add_n(add_n(add_n([2, 3, -5],-2),3),3)
[ 2, 3, -5 ]
input : list = [-2, 1] output : list = [3, 6]
[ 3, 6 ]
generated_output : list = add_n(input,5)
generated_output : list = add_n([-2, 1],5)
[ -2, 1 ]
input : list = [4, 0, 1, 3, -4] output : list = [10, 6, 7, 9, 2]
[ 10, 6, 7, 9, 2 ]
generated_output : list = sub_n(add_n(input,5),-1)
generated_output : list = sub_n(add_n([4, 0, 1, 3, -4],5),-1)
[ 4, 0, 1, 3, -4 ]
input : list = [-2, 5, 5] output : list = [6, 6]
[ 6, 6 ]
generated_output : list = sort_asc(sub_n(take(take(drop(input,1),7),23),-1))
generated_output : list = sort_asc(sub_n(take(take(drop([-2, 5, 5],1),7),23),-1))
[ -2, 5, 5 ]
input : list = [3, -3, -5, -3, -4] output : list = [-9, -3, -3, -2, -1]
[ -9, -3, -3, -2, -1 ]
generated_output : list = mul_n(sub_n(sub_n(sub_n(sort_des(input),-5),4),-5),-1)
generated_output : list = mul_n(sub_n(sub_n(sub_n(sort_des([3, -3, -5, -3, -4]),-5),4),-5),-1)
[ 3, -3, -5, -3, -4 ]
input : list = [5, -4, 1] output : list = [-5, 4, -1]
[ -5, 4, -1 ]
generated_output : list = mul_n(input,-1)
generated_output : list = mul_n([5, -4, 1],-1)
[ 5, -4, 1 ]
input : list = [4, 1, 0, -4] output : list = [102, -6, -33, -114]
[ 102, -6, -33, -114 ]
generated_output : list = mul_n(add_n(reverse(mul_n(mul_n(input,-3),-3)),2),-3)
generated_output : list = mul_n(add_n(reverse(mul_n(mul_n([4, 1, 0, -4],-3),-3)),2),-3)
[ 4, 1, 0, -4 ]
input : list = [-5, 4, -2] output : list = [16, 4, -20]
[ 16, 4, -20 ]
generated_output : list = mul_n(sort_asc(sub_n(reverse(reverse(input)),-1)),-4)
generated_output : list = mul_n(sort_asc(sub_n(reverse(reverse([-5, 4, -2])),-1)),-4)
[ -5, 4, -2 ]
input : list = [0, -5, 5, -3] output : list = [5, 0, -3, -5]
[ 5, 0, -3, -5 ]
generated_output : list = sort_des(input)
generated_output : list = sort_des([0, -5, 5, -3])
[ 0, -5, 5, -3 ]
input : list = [1, -3, -1, 2, -4] output : list = [7, 6, 4, 2, 1]
[ 7, 6, 4, 2, 1 ]
generated_output : list = add_n(sort_des(add_n(sub_n(add_n(input,5),-5),-3)),-2)
generated_output : list = add_n(sort_des(add_n(sub_n(add_n([1, -3, -1, 2, -4],5),-5),-3)),-2)
[ 1, -3, -1, 2, -4 ]
input : list = [3, -1, -1, 4, 0] output : list = [-1, 0, 4]
[ -1, 0, 4 ]
generated_output : list = sort_asc(take(reverse(sort_asc(drop(input,1))),3))
generated_output : list = sort_asc(take(reverse(sort_asc(drop([3, -1, -1, 4, 0],1))),3))
[ 3, -1, -1, 4, 0 ]
input : list = [-2, 3, -3, 0, 0, -5] output : list = [0, -3, -3, -5, -6, -8]
[ 0, -3, -3, -5, -6, -8 ]
generated_output : list = sort_des(sort_des(sub_n(reverse(add_n(input,-2)),1)))
generated_output : list = sort_des(sort_des(sub_n(reverse(add_n([-2, 3, -3, 0, 0, -5],-2)),1)))
[ -2, 3, -3, 0, 0, -5 ]
input : list = [4, -1] output : list = [5, 0]
[ 5, 0 ]
generated_output : list = take(sub_n(input,-1),8)
generated_output : list = take(sub_n([4, -1],-1),8)
[ 4, -1 ]
input : list = [-1, 4] output : list = [-4, 16]
[ -4, 16 ]
generated_output : list = sort_asc(mul_n(input,4))
generated_output : list = sort_asc(mul_n([-1, 4],4))
[ -1, 4 ]
input : list = [5, 3, 5, -1, -5] output : list = [-5, -1, 3, 5, 5]
[ -5, -1, 3, 5, 5 ]
generated_output : list = sort_asc(reverse(input))
generated_output : list = sort_asc(reverse([5, 3, 5, -1, -5]))
[ 5, 3, 5, -1, -5 ]
input : list = [4, 1, 5, -2, -5, -2] output : list = [4, 1]
[ 4, 1 ]
generated_output : list = sort_des(sort_des(reverse(sort_asc(take(input,2)))))
generated_output : list = sort_des(sort_des(reverse(sort_asc(take([4, 1, 5, -2, -5, -2],2)))))
[ 4, 1, 5, -2, -5, -2 ]
input : list = [2, 1, -1, -3, -2, -3] output : list = [-4, -5]
[ -4, -5 ]
generated_output : list = take(add_n(drop(input,4),-2),18)
generated_output : list = take(add_n(drop([2, 1, -1, -3, -2, -3],4),-2),18)
[ 2, 1, -1, -3, -2, -3 ]
input : list = [3, -3, 0, 1, -4, -1] output : list = [-64, -48, -16]
[ -64, -48, -16 ]
generated_output : list = mul_n(take(sort_asc(mul_n(reverse(input),4)),3),4)
generated_output : list = mul_n(take(sort_asc(mul_n(reverse([3, -3, 0, 1, -4, -1]),4)),3),4)
[ 3, -3, 0, 1, -4, -1 ]
input : list = [4, 0] output : list = [-4, 0]
[ -4, 0 ]
generated_output : list = sort_asc(sub_n(add_n(add_n(sub_n(input,4),-3),-2),-5))
generated_output : list = sort_asc(sub_n(add_n(add_n(sub_n([4, 0],4),-3),-2),-5))
[ 4, 0 ]
input : list = [-3, 4, 2, -4, 5] output : list = [-4, -3, 2, 4, 5]
[ -4, -3, 2, 4, 5 ]
generated_output : list = reverse(sort_des(input))
generated_output : list = reverse(sort_des([-3, 4, 2, -4, 5]))
[ -3, 4, 2, -4, 5 ]
input : list = [0, 0, 3, -1, 4] output : list = [-13, 2, -10, -1, -1]
[ -13, 2, -10, -1, -1 ]
generated_output : list = sub_n(mul_n(add_n(take(reverse(input),17),1),-3),-2)
generated_output : list = sub_n(mul_n(add_n(take(reverse([0, 0, 3, -1, 4]),17),1),-3),-2)
[ 0, 0, 3, -1, 4 ]
input : list = [2, -2, -5, -1, 1, 5] output : list = [-13, -10, -9, -7, -6, -3]
[ -13, -10, -9, -7, -6, -3 ]
generated_output : list = sub_n(sort_asc(add_n(sub_n(sub_n(input,-1),4),-2)),3)
generated_output : list = sub_n(sort_asc(add_n(sub_n(sub_n([2, -2, -5, -1, 1, 5],-1),4),-2)),3)
[ 2, -2, -5, -1, 1, 5 ]
input : list = [-5, -3, -3, -5, 3, -4] output : list = [40, 32, 32, 40, 8, 36]
[ 40, 32, 32, 40, 8, 36 ]
generated_output : list = mul_n(add_n(input,-5),-4)
generated_output : list = mul_n(add_n([-5, -3, -3, -5, 3, -4],-5),-4)
[ -5, -3, -3, -5, 3, -4 ]
input : list = [-5, 0, -4] output : list = [-5]
[ -5 ]
generated_output : list = take(input,1)
generated_output : list = take([-5, 0, -4],1)
[ -5, 0, -4 ]
input : list = [3, -1] output : list = [-15, 5]
[ -15, 5 ]
generated_output : list = sort_asc(mul_n(sort_des(reverse(reverse(input))),-5))
generated_output : list = sort_asc(mul_n(sort_des(reverse(reverse([3, -1]))),-5))
[ 3, -1 ]
input : list = [2, 5, 5] output : list = [-25, -25, -10]
[ -25, -25, -10 ]
generated_output : list = mul_n(reverse(input),-5)
generated_output : list = mul_n(reverse([2, 5, 5]),-5)
[ 2, 5, 5 ]
input : list = [5, 4, 4, 1] output : list = [-4, -1, -1, 0]
[ -4, -1, -1, 0 ]
generated_output : list = sub_n(reverse(mul_n(input,1)),5)
generated_output : list = sub_n(reverse(mul_n([5, 4, 4, 1],1)),5)
[ 5, 4, 4, 1 ]
input : list = [2, 4, 2, -2, 2, 5] output : list = [8, 6]
[ 8, 6 ]
generated_output : list = add_n(take(drop(reverse(sub_n(input,1)),4),28),5)
generated_output : list = add_n(take(drop(reverse(sub_n([2, 4, 2, -2, 2, 5],1)),4),28),5)
[ 2, 4, 2, -2, 2, 5 ]
input : list = [-1, -5, 2, 4, -3] output : list = [27, 21, 12, 6, 0]
[ 27, 21, 12, 6, 0 ]
generated_output : list = mul_n(sort_des(reverse(sub_n(sort_des(input),-5))),3)
generated_output : list = mul_n(sort_des(reverse(sub_n(sort_des([-1, -5, 2, 4, -3]),-5))),3)
[ -1, -5, 2, 4, -3 ]
input : list = [-1, 2, 5] output : list = [0, 3, 6]
[ 0, 3, 6 ]
generated_output : list = reverse(add_n(reverse(input),1))
generated_output : list = reverse(add_n(reverse([-1, 2, 5]),1))
[ -1, 2, 5 ]
input : list = [0, 1, 1, 3, 2, 0] output : list = [9, 3, 3, 0]
[ 9, 3, 3, 0 ]
generated_output : list = mul_n(reverse(take(input,4)),3)
generated_output : list = mul_n(reverse(take([0, 1, 1, 3, 2, 0],4)),3)
[ 0, 1, 1, 3, 2, 0 ]
input : list = [5, -4] output : list = [-8, 10]
[ -8, 10 ]
generated_output : list = sort_asc(sort_des(sort_asc(take(mul_n(input,2),2))))
generated_output : list = sort_asc(sort_des(sort_asc(take(mul_n([5, -4],2),2))))
[ 5, -4 ]
input : list = [0, 5, -2, -3, -3, -5] output : list = [1, 6, -1, -2, -2, -4]
[ 1, 6, -1, -2, -2, -4 ]
generated_output : list = add_n(input,1)
generated_output : list = add_n([0, 5, -2, -3, -3, -5],1)
[ 0, 5, -2, -3, -3, -5 ]
input : list = [-5, -5, 2, 0] output : list = [5, -5, -30, -30]
[ 5, -5, -30, -30 ]
generated_output : list = take(mul_n(sort_des(sort_asc(sub_n(input,1))),5),46)
generated_output : list = take(mul_n(sort_des(sort_asc(sub_n([-5, -5, 2, 0],1))),5),46)
[ -5, -5, 2, 0 ]
input : list = [1, 2, -3] output : list = [1, -4]
[ 1, -4 ]
generated_output : list = sort_des(take(add_n(sort_des(drop(input,1)),-1),8))
generated_output : list = sort_des(take(add_n(sort_des(drop([1, 2, -3],1)),-1),8))
[ 1, 2, -3 ]
input : list = [-1, 5, -1, 1] output : list = [-18, -18, 22, 102]
[ -18, -18, 22, 102 ]
generated_output : list = sort_asc(sub_n(mul_n(mul_n(mul_n(input,-2),-5),2),-2))
generated_output : list = sort_asc(sub_n(mul_n(mul_n(mul_n([-1, 5, -1, 1],-2),-5),2),-2))
[ -1, 5, -1, 1 ]
input : list = [2, -5, -2, -5, 2, 1] output : list = [-25, -25, -10, 5, 10, 10]
[ -25, -25, -10, 5, 10, 10 ]
generated_output : list = take(mul_n(reverse(sort_des(reverse(input))),5),14)
generated_output : list = take(mul_n(reverse(sort_des(reverse([2, -5, -2, -5, 2, 1]))),5),14)
[ 2, -5, -2, -5, 2, 1 ]
input : list = [5, -5, 4, 4] output : list = [4, -6]
[ 4, -6 ]
generated_output : list = sub_n(add_n(take(add_n(take(input,2),-2),13),-2),-3)
generated_output : list = sub_n(add_n(take(add_n(take([5, -5, 4, 4],2),-2),13),-2),-3)
[ 5, -5, 4, 4 ]
input : list = [0, 4, 3, 2] output : list = [2, 4, 5, 6]
[ 2, 4, 5, 6 ]
generated_output : list = sort_asc(sort_asc(sub_n(input,-2)))
generated_output : list = sort_asc(sort_asc(sub_n([0, 4, 3, 2],-2)))
[ 0, 4, 3, 2 ]
input : list = [0, -2, 3, -1, 5] output : list = [-1, 0, 1, 4, 6]
[ -1, 0, 1, 4, 6 ]
generated_output : list = sub_n(sort_asc(add_n(take(sub_n(input,1),5),1)),-1)
generated_output : list = sub_n(sort_asc(add_n(take(sub_n([0, -2, 3, -1, 5],1),5),1)),-1)
[ 0, -2, 3, -1, 5 ]
input : list = [0, -4, 5, 3] output : list = [-7, -3, 0, 2]
[ -7, -3, 0, 2 ]
generated_output : list = sub_n(sort_asc(reverse(sort_asc(input))),3)
generated_output : list = sub_n(sort_asc(reverse(sort_asc([0, -4, 5, 3]))),3)
[ 0, -4, 5, 3 ]
input : list = [1, 0, 2, -1, 0] output : list = [2, 4, 0, 6, 4]
[ 2, 4, 0, 6, 4 ]
generated_output : list = mul_n(take(sub_n(input,2),18),-2)
generated_output : list = mul_n(take(sub_n([1, 0, 2, -1, 0],2),18),-2)
[ 1, 0, 2, -1, 0 ]
input : list = [1, 3, -1] output : list = [3, -1]
[ 3, -1 ]
generated_output : list = take(drop(input,1),7)
generated_output : list = take(drop([1, 3, -1],1),7)
[ 1, 3, -1 ]
input : list = [1, 5] output : list = [0, 4]
[ 0, 4 ]
generated_output : list = sort_asc(reverse(sort_asc(add_n(sub_n(input,3),2))))
generated_output : list = sort_asc(reverse(sort_asc(add_n(sub_n([1, 5],3),2))))
[ 1, 5 ]
input : list = [-3, -4] output : list = [2, 1]
[ 2, 1 ]
generated_output : list = sub_n(sort_des(take(sort_des(input),12)),-5)
generated_output : list = sub_n(sort_des(take(sort_des([-3, -4]),12)),-5)
[ -3, -4 ]
input : list = [-3, 3, 1, 4, 0] output : list = [9, 5]
[ 9, 5 ]
generated_output : list = sort_des(sub_n(sort_des(drop(input,3)),-5))
generated_output : list = sort_des(sub_n(sort_des(drop([-3, 3, 1, 4, 0],3)),-5))
[ -3, 3, 1, 4, 0 ]