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