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