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