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