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