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