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