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