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