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