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