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