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