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