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