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