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