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