Three painters are painting the railings of a pier .