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