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