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