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