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