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