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