There are 6 baskets on the table. Each basket has 12, 16, 6, 3, 10 and 7 apples. John chose fourth, Emma chose second, Olivia chose fifth, Sean chose third, Liam chose first, and Matt chose sixth. How many apples did John and Matt choose in total?