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