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