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