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