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