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