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