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