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