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