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