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