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