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