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