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