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