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