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