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