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