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