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