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