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