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