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