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