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