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