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