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