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