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