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