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