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