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