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