There were m visitors in an exhibition on the first day and 1,200 fewer vistors on the second day. On the third day, the number of vistors was 30% greator than the number of vistors on the second day. What was the average number of vistors over the three days?