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