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