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