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