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