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