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