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