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