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