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