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