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