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