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