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