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