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