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