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