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