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