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