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