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