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