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