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