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