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