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