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