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