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