modified:   USACO/2001/winter/green/bed1.cpp