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