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