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