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