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