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