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