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