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