get first element of each tuple in list `a`,[tup[0] for tup in A]