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