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