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