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