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