this is definitely an anti-pattern: how about `A = [e[-1] for e in a]`?