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