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