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