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