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