a ← [1, 2, 3] INSERT(a, 1, "inserted") DISPLAY(a) APPEND(a, "appended") DISPLAY(a) REMOVE(a, 1) DISPLAY(a) a ← RANDOM(3, 40) DISPLAY(a)