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