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