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