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