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