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