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