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