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