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