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