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