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