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