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