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