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