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