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