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