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