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