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