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