There are 6 baskets on the table. Each basket has 5, 16, 18, 9, 14 and 17 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?