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