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