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