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