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