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