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