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