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