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