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