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