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