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