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