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