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