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