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