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