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