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