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