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