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