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