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