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