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