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