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