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