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