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