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