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