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