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