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