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