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