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