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