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