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