array a = (1,2,3,4,5,6)


for int i in  a.size() - 1 .. 0 step -1
  int j = a[i]
  if (j mod 2) = 1 let a[i] = nil
/for

a.display()