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