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