A drama club earns $1040 from a production. A total of 64 adult tickets and and 132 student tickets are sold. Adult tickets cost $8 and students cost $4. How many adult and student tickets did they sell?