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