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