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