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