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