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