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