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