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