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