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