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