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