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