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