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