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