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