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