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