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