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