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