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