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