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