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