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