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