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