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