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