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