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