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