Problem 1273: Drainage Ditches. Solved on 09/21/2014.