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