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