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