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