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