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