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