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