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