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