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