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