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