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