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