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