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