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