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