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