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