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