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