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