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