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