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