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