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