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