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