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