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