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