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