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