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