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