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