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