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