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