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