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