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