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