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