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