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