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