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