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