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