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