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