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