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