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