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