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