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