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