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