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