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