There are 7 baskets on the table. Each basket has 0, 10, 2, 7, 14, 3 and 17 apples. Emma chose fourth, Sean chose first, Olivia chose second, Liam chose seventh, John chose sixth, Noah chose fifth, and Matt chose third. How many apples did Emma and John choose in total?