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