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