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