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