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