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