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