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