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