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