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