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