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