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