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