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