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