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