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