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