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