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