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