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