Ana and john are salespeople at store.If they made 36 sales one day and john sold three less than twice Ana's sales total,how many did john sell?

Let a = Ana's sales

2(a - 3) + a = 36

3a - 6 = 36

3a = 42

a = 14