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