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