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