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