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