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