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