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