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