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