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