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