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