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