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